Vulnerability · CVE-2021-27137
DD-WRT Stack-Based Buffer Overflow Vulnerability
Published Jun 3, 2026 · catalog updated Jul 21, 2026 · DD-WRT DD-WRT
Patch now
CVE-2021-27137 is in the CISA known-exploited catalog, due Jul 24, 2026. Confirm DD-WRT DD-WRT against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Gaps on this record
- No version range is stored. A customer cannot check an installed version against this record.
- Severity
- High8.1
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 4.00%
- Remediation
- Remediation guidance
- Affected products
- cpe dd-wrt/dd-wrt · vendor DD-WRT DD-WRT
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).
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe dd-wrt/dd-wrtversion unspecified
- vendor DD-WRT DD-WRTversion unspecified
How to fix CVE-2021-27137
Recommended remediation
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. CISA due date Jul 24, 2026.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2021-27137 is in the CISA known-exploited catalog, due Jul 24, 2026. Confirm DD-WRT DD-WRT against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Affected version ranges are not on this record. 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.
What should an analyst verify?
CWE-121: Stack-based Buffer Overflow. EPSS 4.00%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jul 16, 2026 · Catalog
Detected
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 (reachab
Jul 21, 2026 · CISA KEV
Known exploited
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
Jul 21, 2026 · Catalog
Updated
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 (reachab
Jul 24, 2026 · CISA KEV
Remediation due
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
Sources
- CISA KEVConfirmed exploitationCVE-2021-27137
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.
cisa.gov - CVE.orgVulnerability recordCVE-2021-27137
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2021-27137
30-day exploitation probability 4.0%
first.org - NIST NVDVulnerability recordCVE-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
nvd.nist.gov - VulnCheck KEVConfirmed exploitationCVE-2021-27137
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.
vulncheck.com
References
- CISA note · nvd.nist.gov
- VulnCheck exploitation evidence · previdian.com
- Exploit · securityaffairs.com
- Exploit · ssd-disclosure.com
- CISA note · svn.dd-wrt.com
- Exploit · bleepingcomputer.com
- US Government Resource · cisa.gov
- CISA note · cisa.gov
- CISA note · cisa.gov
- VulnCheck exploitation evidence · cisa.gov
- Exploit · fortinet.com
- VulnCheck exploitation evidence · recordedfuture.com
- VulnCheck exploitation evidence · recordedfuture.com
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.