Live threats

All CVEs / DD-WRT

CVE-2021-27137DD-WRT

Stack-Based Buffer Overflow in DD-WRT UPnP

High 8.1 KEV No auth neededHigh EPSS

Priority
65
CVSS 3.1
8.1
EPSS
15.7%
probability of exploitation in 30 days · percentile 97
Auth required
No
In KEV since
Jul 21, 2026
CISA deadline
Jul 24, 2026
Ransomware use
Unknown
Published
Jul 16, 2026
Updated
Jul 22, 2026
Category
Operating system · Cross-platform
Weakness (CWE)
CWE-121
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

DD-WRT before version 45724 contains a stack-based buffer overflow in UPnP handling that allows an unauthenticated remote attacker to send malformed M-SEARCH requests to overflow an internal buffer. The vulnerability requires UPnP to be enabled (disabled by default). CISA has confirmed this vulnerability is being actively exploited.

Show the original NVD text

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

Source text, unmodified. NVD.

Exploitation confirmed by 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.

Action required by CISA: 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.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 45724

Update DD-WRT to version 45724 or later. If you cannot update, disable UPnP in the router settings.

Vendor advisory · svn.dd-wrt.com ↗

  1. Apply the vendor's security update for DD-WRT.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was July 24, 2026.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
dd-wrtdd-wrt< 45724

Official sources

References

Links published by the sources. Open them with care.