CVE-2021-27137
HIGH 8.1 KNOWN EXPLOITED ALL-YEARSAn 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).
Confirmed exploited in the wild — in CISA KEV since 2026-07-21. Patch or mitigate now.
Exploitation likelihood
4.0%chance of exploitation in 30 days · 90th percentile
Impact if exploited
8.1CVSS 3.1 · HIGH · CNA
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ⚠Complexity: Needs a race window or specific setup
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-121: Stack-based Buffer Overflow
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References and research data (JSON)
Additional exploitation reports
Source-specific reports, separate from CISA KEV. Repeated observations from one source are not independent confirmations.
- VulnCheck KEV · 2026-06-03T00:00:00Z
Source guidance: 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.
Source ransomware assessment: Unknown
VulnCheck KEV · CVE-2021-27137 · Updated 2026-06-03T00:00:00Z - VulnCheck KEV · 2026-06-03T00:00:00ZVulnCheck KEV · CVE-2021-27137
- VulnCheck KEV · 2026-07-10T00:00:00ZVulnCheck KEV · CVE-2021-27137
- VulnCheck KEV · 2026-07-21T00:00:00ZVulnCheck KEV · CVE-2021-27137
VulnCheck KEV · CVE-2021-27137 - VulnCheck KEV · 2026-08-07T00:00:00ZVulnCheck KEV · CVE-2021-27137
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Dd Wrt | Dd Wrt | < 45724 |
All CVSS metrics
- HIGH 8.1 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - HIGH 8.1 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Exploit-tagged references (not proof of a PoC)
- https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ CVE record · mitre · Updated 2026-07-16T17:38:47.947Z
CVE record · CISA-ADP · Updated 2026-07-22T03:55:45.793Z
NVD · CVE-2021-27137 · Updated 2026-07-22T05:17:07.330 - https://securityaffairs.com/193290/uncategorized/iot-botnet-c0xmo-adds-competitor-killing-capability.html CVE record · mitre · Updated 2026-07-16T17:38:47.947Z
NVD · CVE-2021-27137 · Updated 2026-07-22T05:17:07.330 - https://www.bleepingcomputer.com/news/security/c0xmo-botnet-spreads-via-dd-wrt-router-flaw-kills-rival-malware/ CVE record · mitre · Updated 2026-07-16T17:38:47.947Z
NVD · CVE-2021-27137 · Updated 2026-07-22T05:17:07.330 - https://www.fortinet.com/blog/threat-research/inside-cross-platform-propagation-of-new-gafgyt-variant-c0xmo CVE record · mitre · Updated 2026-07-16T17:38:47.947Z
NVD · CVE-2021-27137 · Updated 2026-07-22T05:17:07.330
VulnCheck KEV · CVE-2021-27137 · Updated 2026-06-03T00:00:00Z
Patches & mitigations
- https://svn.dd-wrt.com/changeset/45724 CVE record · mitre · Updated 2026-07-16T17:38:47.947Z
NVD · CVE-2021-27137 · Updated 2026-07-22T05:17:07.330
Advisories
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-27137 CVE record · CISA-ADP · Updated 2026-07-22T03:55:45.793Z
NVD · CVE-2021-27137 · Updated 2026-07-22T05:17:07.330 - https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-34854 EUVD · EUVD-2021-34854
- https://vulncheck.com/kev VulnCheck KEV · CVE-2021-27137 · Updated 2026-06-03T00:00:00Z
Technical & other
- https://www.recordedfuture.com/blog/june-2026-cve-landscape VulnCheck KEV · CVE-2021-27137 · Updated 2026-06-03T00:00:00Z
- https://previdian.com/CVE-2021-27137 VulnCheck KEV · CVE-2021-27137 · Updated 2026-06-03T00:00:00Z
- https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json VulnCheck KEV · CVE-2021-27137 · Updated 2026-06-03T00:00:00Z
- https://www.recordedfuture.com/blog/july-2026-cve-landscape VulnCheck KEV · CVE-2021-27137 · Updated 2026-06-03T00:00:00Z
Sources: NVD · CVE.org · All sources and attribution · EPSS