CVE-2021-27137
High 8.1KEV · exploitedFix availableDD-WRT Stack-Based Buffer Overflow Vulnerability
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 91% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 120 days ago for U.S. federal agencies
Description
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).
Weakness: CWE-121
Patching and mitigation
- Patch status
- Fix available (source: CVE record (mitre))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- svn.dd-wrt.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| DD-WRT | DD-WRT | Not documented | Not documented | CISA KEV |
| DD-WRT | DD-WRT | all versions before 45724 | 45724 | CVE Program |
Timeline
Disclosure
CVE record published by mitre
Source: CVE Program (opens in a new tab)
21 Jul 2026KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
21 Jul 2026Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Patch
Fix documented by CVE record (mitre)
Vendor guidance and references
- https://svn.dd-wrt.com/changeset/45724 (opens in a new tab)vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-27137 (opens in a new tab)government
- https://securityaffairs.com/193290/uncategorized/iot-botnet-c0xmo-adds-competitor-killing-capability.html (opens in a new tab)
- https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ (opens in a new tab)
- https://www.bleepingcomputer.com/news/security/c0xmo-botnet-spreads-via-dd-wrt-router-flaw-kills-rival-malware/ (opens in a new tab)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-27137 (opens in a new tab)government-resource
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk (opens in a new tab)government
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk (opens in a new tab)government
- https://www.fortinet.com/blog/threat-research/inside-cross-platform-propagation-of-new-gafgyt-variant-c0xmo (opens in a new tab)