Skip to content

CVE-2021-27137

DD-WRT Stack-Based Buffer Overflow Vulnerability

  • Actively exploited
  • High · 8.1 of 10
Exploited since
21 Jul 2026
added to the CISA list
Chance of attacks
4.0%
in the next 30 days (FIRST EPSS)
Fix deadline
24 Jul 2026
for US federal agencies
Published
16 Jul 2026
in the NVD

What this means

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.

CISA

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).

NIST National Vulnerability Database

Products on this site it may affect

Matched by company and product name. Check the vendor's advisory for the exact versions.

What to do

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.

CISA's required action. If you use the product, install the vendor's update as soon as possible.

Affected

  • DD-WRT DD-WRT

Official sources

Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

By using this site, you agree to the Privacy Policy.