CVE-2021-27137
HIGH 8.1CVSS 3.1known exploitedDD-WRT Stack-Based Buffer Overflow Vulnerability
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).
- Published
- 16 Jul 2026
- Last modified
- 22 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-121
- Sources
- NVDJSONCISA KEVJSON
In CISA's Known Exploited Vulnerabilities catalog since 21 Jul 2026; US federal agencies must fix it by 24 Jul 2026.
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dd-wrt | dd-wrtcpe:2.3:o:dd-wrt:dd-wrt:*:*:*:*:*:*:*:* |
< 45724 | 45724 |
References
- https://securityaffairs.com/193290/uncategorized/iot-botnet-c0xmo-adds-competitor-killing-capability.html · Exploit, Third Party Advisory
- https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ · Exploit, Third Party Advisory
- https://svn.dd-wrt.com/changeset/45724 · Patch
- https://www.bleepingcomputer.com/news/security/c0xmo-botnet-spreads-via-dd-wrt-router-flaw-kills-rival-malware/ · Exploit, Third Party Advisory
- https://www.fortinet.com/blog/threat-research/inside-cross-platform-propagation-of-new-gafgyt-variant-c0xmo · Exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-27137 · US Government Resource
- https://nvd.nist.gov/vuln/detail/CVE-2021-27137
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 16 Jul 2026)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 21 Jul 2026)
- 21 Jul 2026 00:00 UTC · Listed as known exploited