Description
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).
Published: 2026-07-16
Score: 8.1 High
EPSS: 16.5% Moderate
KEV: Yes
Impact: n/a
Action: n/a
AI Analysis

Impact

An unsafe strcpy in DD‑WRT’s UPnP SSDP handling (ssdp_msearch) allows an unauthenticated attacker to send a crafted M‑SEARCH request that overflows an internal fixed buffer, leading to a stack‑based buffer overflow classified as CWE‑121. This flaw could potentially enable arbitrary code execution on the router.

Affected Systems

DD‑WRT firmware releases earlier than changeset 45724 are affected. The vulnerability only exists when UPnP is enabled, which is disabled by default and listens only on internal interfaces unless the device owner re‑configures it.

Risk and Exploitability

The CVSS base score of 8.1 marks the flaw as high severity, and the EPSS score of 16% indicates a non‑trivial likelihood of exploitation. Based on the description, the attack vector requires an unauthenticated attacker to send an M‑SEARCH packet to the UPnP service, implying that the router’s UPnP interface must be reachable from the attacker’s network. The flaw is listed in the CISA KEV catalog, and the C0xmo botnet has weaponized it to disrupt rival malware on DD‑WRT systems.

Generated by OpenCVE AI on August 4, 2026 at 18:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade DD‑WRT firmware to a version that includes changeset 45724 or later.
  • Disable UPnP or ensure the UPnP interface is not exposed externally.
  • Block SSDP (M‑SEARCH) traffic on internal interfaces if disabling UPnP is not feasible.

Generated by OpenCVE AI on August 4, 2026 at 18:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Title DD-WRT UPnP Buffer Overflow Allows Remote Code Execution

Fri, 31 Jul 2026 02:45:00 +0000

Type Values Removed Values Added
Title DD-WRT UPnP Buffer Overflow Allows Remote Code Execution

Tue, 28 Jul 2026 02:00:00 +0000

Type Values Removed Values Added
Title DD‑WRT UPnP Buffer Overflow Vulnerability

Fri, 24 Jul 2026 06:30:00 +0000

Type Values Removed Values Added
Title DD‑WRT UPnP Buffer Overflow Vulnerability

Tue, 21 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics kev

{'dateAdded': '2026-07-21T00:00:00+00:00', 'dueDate': '2026-07-24T00:00:00+00:00'}


Thu, 16 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 16 Jul 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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).
First Time appeared Dd-wrt
Dd-wrt dd-wrt
Weaknesses CWE-121
CPEs cpe:2.3:a:dd-wrt:dd-wrt:*:*:*:*:*:*:*:*
Vendors & Products Dd-wrt
Dd-wrt dd-wrt
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-22T03:55:45.793Z

Reserved: 2021-02-10T00:00:00.000Z

Link: CVE-2021-27137

cve-icon Vulnrichment

Updated: 2026-07-16T18:24:33.515Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:45:12Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow