BLACKOUT MAP

DD-WRT · DD-WRT

CVE-2021-27137

DD-WRT Stack-Based Buffer Overflow Vulnerability

Exploited in attacks High 8.1 Attack chance: 4.0%
Share

What it is

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

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.

Deadline for US federal agencies: July 24, 2026

Added to the CISA list
July 21, 2026
Published
July 16, 2026
Severity
High 8.1 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
4.0% in the top 9.5% of all known vulnerabilities
Weakness
CWE-121
More details
NVD · CVE.org · CISA
All references (5)

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.