Skip to content
Server Security Center
KEVhigh8.1

CVE-2021-27137: DD-WRT Stack-Based Buffer Overflow

DD-WRT · listed in the CISA catalog of actively exploited vulnerabilities since 2026-07-21.

CVSS v3.1 (CVE record)
8.1
high
EPSS (exploit probability, 30 days)
4.0%
higher than 90.7% of all CVEs
Added to CISA KEV
2026-07-21
US federal due date 2026-07-24
Automatable (CISA SSVC)
no
technical impact: total

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

CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk guidance and CISA’s “Forensics Triage Requirements”. 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 notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • DD-WRT
    Affected
    • < 45724
    Fixed in
    • 45724

How to fix it

  • Update to a fixed version: 45724.
  • CISA's deadline for US federal agencies: 2026-07-24 (passed) – a useful benchmark for everyone else, too.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-121 Stack-based Buffer Overflow

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.