Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

86
Patch now
HIGH 8.1EXPLOITEDREMOTEUPGRADE

CVE-2021-27137 is a high-severity flaw (CVSS 8.1) affecting dd-wrt, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity
  • EPSS top 10%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score8.1 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance4.0% (top 10%)
CISA exploited listYes, fix due 2026-07-24
WeaknessCWE-121
Published2026-07-16
Last modified2026-07-22
Publisher (CNA): MITRE · Vendor: dd-wrt

Share: LinkedIn · X · Reddit

Last updated 2026-07-22 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

dd-wrt dd-wrt UPGRADE
Affected: < 45724
Fixed in: 45724
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

Fedora 46 · gcl · FIXED · 2.7.1-12.fc46 · FEDORA-2026-ff383a759b · source
sudo dnf upgrade --advisory=FEDORA-2026-ff383a759b
Fedora ELN · mozjs140 · FIXED · 140.13.0-5.eln159 · FEDORA-2026-f7ed0026e0 · source
sudo dnf upgrade --advisory=FEDORA-2026-f7ed0026e0

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-27137?

dd-wrt: upgrade to 45724. Exact commands for each OS are on this page.

Is CVE-2021-27137 being exploited?

Yes. CVE-2021-27137 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2021-27137 affect?

CVE-2021-27137 affects dd-wrt. Severity is high (CVSS 8.1). 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. Exploita

How urgent is CVE-2021-27137?

Priority 86/100. High severity; EPSS top 10%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.