Sovra Recon·Actively exploited

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

At a glance

CVE-2021-27137 is a high-severity vulnerability (CVSS score 8.1) affecting DD-WRT (DD-WRT). CISA has confirmed that attackers have been exploiting it since July 21, 2026.

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

Details

The vulnerability in detail

CVE ID
CVE-2021-27137
Vendor
DD-WRT
Product
DD-WRT
Severity (CVSS)
High · 8.1 / 10
Published
July 16, 2026
Actively exploited
Yes, confirmed by CISA on July 21, 2026
Used in ransomware
Not reported
Weakness type (CWE)
CWE-121

What to do

How to protect against CVE-2021-27137

  • Check whether you are affected: identify the installed versions of the product and compare them with the vendor's security advisory.
  • Apply the vendor's patch as a priority on Internet-facing systems, since this vulnerability is already being exploited.
  • If no patch is available, apply the published workarounds or take the service off the Internet.
  • Look for signs of compromise: a vulnerability exploited before you patched may already have been used. Review your logs and the indicators published by the vendor.

Sources

Official descriptions from NVD and CISA, in their original wording.

Patching a CVE is not enough.

The vulnerabilities specific to your application have no CVE. Our AI agents hunt for them by actually attacking your systems.