DD-WRT Stack-Based Buffer Overflow Vulnerability
DD-WRT — DD-WRT
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).
8.1
5.4%
Vector breakdown
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- Jul 16, 2026
- Modified
- Jul 22, 2026
- Added to KEV
- Jul 21, 2026
- Federal patch due
- Jul 24, 2026
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.
Weakness classification
Affected packages
Proof-of-concept & exploitation references
Weaponization
Public repositories whose name or description references CVE-2021-27137, found via a live GitHub search at request time. These are community-sourced signals, not a verified working exploit - cross-check each one before relying on it, and treat higher star counts and recent activity as (weak) corroboration, not proof.
No public GitHub repositories referencing CVE-2021-27137 were found at last check. Absence here is not proof no exploit exists - see the references below for vendor advisories and write-ups.
References
Frequently asked questions
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).
How severe is CVE-2021-27137?
CVE-2021-27137 has a CVSS base score of 8.1 out of 10 (CVSS 3.1).
Is CVE-2021-27137 actively exploited in the wild?
Yes. CVE-2021-27137 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added Jul 21, 2026, meaning CISA has confirmed evidence of active exploitation.
What is the EPSS score for CVE-2021-27137?
5.4% - meaning FIRST.org's EPSS model estimates a 5.4% probability this vulnerability will be exploited in the wild within 30 days (92% percentile among all scored CVEs).
What type of vulnerability is CVE-2021-27137?
CVE-2021-27137 is classified under CWE-121 (CWE-121 Stack-based Buffer Overflow).
Cross-checked against
Impactr finds and proves whether CVE-2021-27137 - or flaws like it - are actually reachable in your own web apps and APIs, with a reproducible exploit as evidence.
Join the waitlist