CVE-2021-27137

published 16 Jul 2026 · updated 22 Jul 2026

DD-WRT Stack-Based Buffer Overflow Vulnerability

10.0CriticalCVSS 8.1EPSS 4%CISA KEV · due 24 Jul 2026

Exploited in the wild, in CISA KEV since 21 Jul 2026 (due 24 Jul 2026). Fixed in DD-WRT 45724.

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

Briefing

Written from the sources below · claude-haiku-5-5

DD-WRT firmware before build 45724 contains a stack-based buffer overflow caused by an unsafe strcpy in its UPnP SSDP handling (ssdp_msearch). An unauthenticated remote attacker can trigger it with an M-SEARCH request, but only where the user has enabled UPnP.

Why it mattersCISA lists this in the KEV catalog as known exploited, with a federal due date of 2026-07-24. EPSS is 4%.

ActionUpgrade DD-WRT to build 45724 or later. If UPnP is not needed, keep it disabled.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
DD-WRTDD-WRT<4572445724

Exploit evidence

1 public sources

kev

Timeline

Every event on this vulnerability

PublishedCVE-2021-27137·
DD-WRT firmware before build 45724 contains a stack-based buffer overflow caused by an unsafe strcpy in its UPnP SSDP handling (ssdp_msearch). An unauthenticated remote attacker can trigger it with an M-SEARCH request, but only where the user has enabled UPnP.
7.0High

Related

Other vulnerabilities in DD-WRT, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-27137 severity on Zeptric[![CVE-2021-27137](https://zeptric.io/badge/cve/CVE-2021-27137.svg)](https://zeptric.io/cve/CVE-2021-27137)