CVE-2021-27137
CONFIRMED EXPLOITEDDD-WRT Stack-Based Buffer Overflow Vulnerability
Is DD-WRT DD-WRT affected by CVE-2021-27137?
DD-WRT DD-WRT is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2021-27137, added on 2026-07-21. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (1 vulnerable CPE entry): dd-wrt dd-wrt.
Published CPE version bounds mark releases below 45724 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2026-07-24.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-7273Shared weaknessZyxel GS1900 Series Switches
Zyxel GS1900 Series Switches Stack-Based Buffer Overflow Vulnerability
- CVE-2025-53521Shared weaknessF5 BIG-IP
F5 BIG-IP Stack-Based Buffer Overflow Vulnerability
- CVE-2008-0015Shared weaknessMicrosoft Windows
Microsoft Windows Video ActiveX Control Remote Code Execution Vulnerability
- CVE-2025-20352Shared weaknessCisco IOS and IOS XE
Cisco IOS and IOS XE Software SNMP Denial of Service and Remote Code Execution Vulnerability
- CVE-2026-58644Neighboring entryMicrosoft SharePoint
Microsoft SharePoint Deserialization of Untrusted Data Vulnerability
- CVE-2026-0770Neighboring entryLangflow Langflow
Langflow Inclusion of Functionality from Untrusted Control Sphere Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
DD-WRT contains a stack-based buffer overflow vulnerability that could allow an unauthenticated attacker to overflow an internal buffer used by UPnP and trigger a code execution vulnerability.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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).
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-07-21. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of DD-WRT has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Network service surface (DD-WRT DD-WRT): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Inventory all hosts running DD-WRT DD-WRT and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
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.
- https://securityaffairs.com/193290/uncategorized/iot-botnet-c0xmo-adds-competitor-killing-capability.htmlExploitThird Party Advisory
- https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ExploitThird Party Advisory
- https://svn.dd-wrt.com/changeset/45724Patch
- https://www.bleepingcomputer.com/news/security/c0xmo-botnet-spreads-via-dd-wrt-router-flaw-kills-rival-malware/ExploitThird Party Advisory
- https://www.fortinet.com/blog/threat-research/inside-cross-platform-propagation-of-new-gafgyt-variant-c0xmoExploit
- https://ssd-disclosure.com/ssd-advisory-dd-wrt-upnp-buffer-overflow/ExploitThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-27137US Government Resource
SCORING & VECTOR TELEMETRY
NIST NVD score not yet provided. Score attributed to MITRE (cve@mitre.org, Secondary / CNA assessment distributed via NVD).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting