← Vulnerability feed

Vulnerability record · CVE-2021-27239 · published 29 March 2021

CVE-2021-27239: Netgear d6220 firmware stack-based buffer overflow vulnerability

Netgear · D6220 Firmware

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400 and R6700 firmware version 1.0.4.98 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the upnpd service, which listens on UDP port 1900 by default. A crafted MX header field in an SSDP message can trigger an overflow of a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-11851.

8.8 CVSS 3.1 High EPSS 0.74% · top 46.3% CWE-121 · Stack-based buffer overflow
8.8CVSS 3.1 base score, v2 8.3
0.74%EPSS exploitation probability, 30 days
NoNot in CISA KEV
35Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400 and R6700 firmware version 1.0.4.98 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the upnpd service, which listens on UDP port 1900 by default. A crafted MX header field in an SSDP message can trigger an overflow of a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-11851.

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

35 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-27239 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2016-10174NETGEAR router buffer overflow in hidden_lang_avi parameterThe NETGEAR WNR2000v5 router contains a buffer overflow in the hidden_lang_avi parameter when invoking the URL /apply.cgi?/lang_check.html. An unauth…KEVEPSS 83%analysed8.8CVE-2016-6277NETGEAR router cgi-bin command injection allows remote code executionMultiple NETGEAR router models fail to sanitize shell metacharacters in the path info passed to cgi-bin/, allowing remote command execution. The flaw…KEVEPSS 100%analysed8.1CVE-2017-5521NETGEAR router web management password disclosure via recovery tokenMultiple NETGEAR router models expose the admin password through the web management server. When authentication is canceled and password recovery is …KEVEPSS 89%analysed9.8CVE-2025-28219Netgear dc112a firmware os command injection vulnerabilityNetgear DC112A V1.0.0.64 has an OS command injection vulnerability in the usb_adv.cgi, which allows remote attackers to execute arbitrary commands vi…EPSS 13%9.8CVE-2021-45638Netgear d6220 firmware out-of-bounds write vulnerabilityCertain NETGEAR devices are affected by a stack-based buffer overflow by an unauthenticated attacker. This affects D6220 before 1.0.0.68, D6400 befor…EPSS 1.5%9.8CVE-2021-45624Netgear d7000v2 firmware command injection vulnerabilityCertain NETGEAR devices are affected by command injection by an unauthenticated attacker. This affects D7000v2 before 1.0.0.66, D8500 before 1.0.3.58…EPSS 1.7%9.8CVE-2021-45611Netgear dc112a firmware classic buffer overflow vulnerabilityCertain NETGEAR devices are affected by a buffer overflow by an unauthenticated attacker. This affects DC112A before 1.0.0.52, R6400 before 1.0.1.68,…EPSS 1.2%9.8CVE-2021-45610Netgear d6220 firmware classic buffer overflow vulnerabilityCertain NETGEAR devices are affected by a buffer overflow by an unauthenticated attacker. This affects D6220 before 1.0.0.66, D6400 before 1.0.0.100,…EPSS 1.4%

Source: NIST National Vulnerability Database (record CVE-2021-27239), CISA KEV, FIRST EPSS (scores of 2026-10-16). This page is refreshed as NVD updates the record.