CVE-2021-27137

An issue was discovered in router/upnp/src/ssdp.c in DD-WRT before 45724. An unsafe strcpy in the UPnP handling functionality allows an unauthenticated remote attacker to send a request that would overflow an internal fixed buffer. Exploitation requires the DD-WRT user to enable UPnP (which is off by default, and only listens on internal interfaces by default). This occurs in ssdp_msearch (reachable by an M-SEARCH request).
Configurations

Configuration 1 (hide)

cpe:2.3:o:dd-wrt:dd-wrt:*:*:*:*:*:*:*:*

History

21 Jul 2026, 19:17

Type Values Removed Values Added
First Time Dd-wrt
Dd-wrt dd-wrt
References () https://securityaffairs.com/193290/uncategorized/iot-botnet-c0xmo-adds-competitor-killing-capability.html - () https://securityaffairs.com/193290/uncategorized/iot-botnet-c0xmo-adds-competitor-killing-capability.html - Exploit, Third Party Advisory
References () https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ - () https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ - Exploit, Third Party Advisory
References () https://svn.dd-wrt.com/changeset/45724 - () https://svn.dd-wrt.com/changeset/45724 - Patch
References () https://www.bleepingcomputer.com/news/security/c0xmo-botnet-spreads-via-dd-wrt-router-flaw-kills-rival-malware/ - () https://www.bleepingcomputer.com/news/security/c0xmo-botnet-spreads-via-dd-wrt-router-flaw-kills-rival-malware/ - Exploit, Third Party Advisory
References () https://www.fortinet.com/blog/threat-research/inside-cross-platform-propagation-of-new-gafgyt-variant-c0xmo - () https://www.fortinet.com/blog/threat-research/inside-cross-platform-propagation-of-new-gafgyt-variant-c0xmo - Exploit
References () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-27137 - () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-27137 - US Government Resource
CPE cpe:2.3:o:dd-wrt:dd-wrt:*:*:*:*:*:*:*:*

21 Jul 2026, 16:17

Type Values Removed Values Added
References
  • () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-27137 -

16 Jul 2026, 19:16

Type Values Removed Values Added
References () https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ - () https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ -

16 Jul 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-16 18:16

Updated : 2026-07-22 05:17


NVD link : CVE-2021-27137

Mitre link : CVE-2021-27137

CVE.ORG link : CVE-2021-27137


JSON object : View

Products Affected

dd-wrt

  • dd-wrt
CWE
CWE-121

Stack-based Buffer Overflow