CVE-2021-27137: DD-WRT Stack-Based Buffer Overflow
DD-WRT · listed in the CISA catalog of actively exploited vulnerabilities since 2026-07-21.
- CVSS v3.1 (CVE record)
- 8.1
- high
- EPSS (exploit probability, 30 days)
- 4.0%
- higher than 90.7% of all CVEs
- Added to CISA KEV
- 2026-07-21
- US federal due date 2026-07-24
- Automatable (CISA SSVC)
- no
- technical impact: total
What is 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).
CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk guidance and CISA’s “Forensics Triage Requirements”. 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.
CISA notes
- This vulnerability affects a common open-source component, third-party library, proprietary implementation, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: svn.dd-wrt.com/changeset/45724
- BOD 26-04: cisa.gov/news-events/directives/bod-26-04-prioritizing-se…
- Forensics Triage Requirements: cisa.gov/news-events/directives/bod-26-04-implementation-…
- nvd.nist.gov/vuln/detail/CVE-2021-27137
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- DD-WRTAffectedFixed in
- < 45724
- 45724
| Product | Affected | Fixed in |
|---|---|---|
| DD-WRT |
|
|
How to fix it
- Update to a fixed version: 45724.
- CISA's deadline for US federal agencies: 2026-07-24 (passed) – a useful benchmark for everyone else, too.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-121 Stack-based Buffer Overflow
References
Other advisories
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.