CVE-2021-27137
CVE-2021-27137 — DD-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 Updated Sources: NVD, DD-WRT (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Jul 21, 2026
EPSS
16%
ahead of 97% of scored CVEs
CVSS base
8.1
high
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade DD-WRT to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
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.
Federal deadline Jul 24, 2026 — passed 133 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| DD-WRT | DD-WRT | 0 to < 45724 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
High
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.1 | CVSS 3.1 | high | 2.2 | 5.9 | MITRE (CNA), DD-WRT (CNA), GHSA |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-121 · Stack-based Buffer Overflow
- Modify Memory
- DoS: Crash, Exit, or Restart
- DoS: Resource Consumption (CPU)
- DoS: Resource Consumption (Memory)
Mitigation: Run or compile the software using features or extensions that automatically provide a protection mechanism that mitigates or eliminates buffer overflows. For example, certain compilers and extensions provide automatic buffer overflow detection mechanisms that are built into the compiled code. Examples include the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice.
Weakness & attack patterns
- CWE-121Stack-based Buffer Overflow
Inferred from the weakness class — not observed against this CVE.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Jul 21, 2026
Federal deadline
Jul 24, 2026
passed 133 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
12
Exploit entries
1
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
CISA KEV: DD-WRT UPnP overflow CVE-2021-27137 (due Jul 24). Unauth stack overflow via M-SEARCH when UPnP is on. C0XMO/Gafgyt already abuse it. Action: firmware past build 45723 (45724+), or disable UPnP. Don't expose SSDP. https://t.co/SoMXmFDP8p #CISA
@snypet86· Aug 3, 2026
#CVE-2021-27137 — DD-WRT Stack-Based Buffer Overflow Vulnerability https://t.co/EHafmWLrvO
@Npj8448· Jul 28, 2026
🎯 Most likely to be exploited next (EPSS): • CVE-2026-63030 — EPSS 38.6% · CVSS 10 • CVE-2026-60137 — EPSS 20.4% · CVSS 10 • CVE-2021-27137 — EPSS 10.8% · CVSS 8.1 📄 Full weekly tables → https://t.co/fieiiF3w6R
@notCVE· Jul 23, 2026
CVE-2021-27137: DD-WRT Stack-Based Buffer Overflow Vulnerability (CVSS 8.1) | Recent Breaches CVE-2021-27137 affects DD-WRT and is listed in CISA’s Known Exploited Vulnerabilities catalog, meaning it has been exploited in the wild. The flaw exists in router/upnp/src/ssdp.c in
@VistemSolutions· Jul 21, 2026
RT @FortiGuardLabs: 🚨 Our latest research uncovers #C0XMO, a sophisticated Gafgyt botnet variant exploiting CVE-2021-27137 in DD-WRT router…
@skocherhan· Jun 13, 2026
14 more posts on this CVEShowing 5 of 19 · Who is discussing this CVE, and how loudlyUnlock freeDetection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /upnp/src/ssdp.c.
- Prioritize edge telemetry for network-reachable DD-WRT.
- Monitor for scanner or exploit-pattern traffic after 13 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited DD-WRT Stack-Based Buffer Overflow Vulnerability
Nov 20, 2026 · SOCRadar CTI
Added · CVSS 3.1 8.1 (AV:N)
Jul 22, 2026 · NVD
Added to CISA KEV catalog
Jul 21, 2026 · CISA
Initial · CVE published
Jul 16, 2026 · NVD
Added · GHSA-qx3v-2jx6-8m2c published (high)
Jul 16, 2026 · GitHub Security Advisory
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 20×SvrsJun 4, 2026 – Aug 23, 2026 · SOCRadar CTI
- 11×TweetsJun 4, 2026 – Aug 4, 2026 · SOCRadar CTI
- 5×ModifiedJul 16, 2026 – Jul 21, 2026 · SOCRadar CTI
- 1×CVE appeared in the Cve Trends.Jun 5, 2026 · SOCRadar CTI
References
10 on the record
- securityaffairs.com/193290/uncategorized/iot-botnet-c0xmo-adds-competitor-killing-capability.html
Exploit, Third Party Advisory, NIST, GITHUB
- ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/
Exploit, Third Party Advisory, Vendor Advisory, NIST
- svn.dd-wrt.com/changeset/45724
Patch, NIST, Vendor Advisory
- www.bleepingcomputer.com/news/security/c0xmo-botnet-spreads-via-dd-wrt-router-flaw-kills-rival-malware/
Exploit, Third Party Advisory, Vendor Advisory
- www.fortinet.com/blog/threat-research/inside-cross-platform-propagation-of-new-gafgyt-variant-c0xmo
Exploit, NIST
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-27137
US Government Resource, NIST
- nvd.nist.gov/vuln/detail/CVE-2021-27137
NVD, Vendor Advisory
- github.com/advisories/GHSA-qx3v-2jx6-8m2c
Exploit, Third Party Advisory
Coverage
10 stories from the feeds we poll
July 2026 CVE Landscape
recordedfuture.com · Aug 7, 2026
June 2026 CVE Landscape
recordedfuture.com · Jul 10, 2026
U.S. CISA adds DD-WRT, Langflow and WordPress flaws to its Known Exploited Vulnerabilities catalog
securityaffairs.com · Jul 22, 2026
CISA Adds Four Known Exploited Vulnerabilities to Catalog
cisa.gov · Jul 21, 2026
CVE-2021-27137
vuldb.com · Jul 16, 2026
5 more reports on this CVEShowing 5 of 10 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2014-9163 Adobe Flash Player Stack-Based Buffer Overflow VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-53521 BigIP APM VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-42599 Qualitia Active! Mail Stack-Based Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-32756 Fortinet Multiple Products Stack-Based Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-22457 Ivanti Connect Secure, Policy Secure, and ZTA Gateways Stack-Based Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-20700 Cisco Small Business RV Series Routers Stack-based Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- DD-WRTevery CVE for this vendor
- DD-WRTevery page on this product
- July 2026what else CISA listed
- Memory Corruptionsame class
- CWE-121other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2021-27137 is DD-WRT Stack-Based Buffer Overflow Vulnerability, a high vulnerability affecting DD-WRT from DD-WRT. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 13 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 8.1 describes technical severity, while EPSS 16% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.