DD-WRT Buffer Overflow Vulnerability in UPNP Service Allowing Remote Code Execution

Vulnerability

A buffer overflow vulnerability has been identified in the UPNP network discovery service of DD-WRT version 45723. This vulnerability allows remote attackers to execute arbitrary code by sending crafted M-SEARCH packets with oversized UUID payloads, triggering buffer overflow conditions on the affected device. The UPNP service, which is disabled by default, can be exploited by attackers on the same local network.

Impact

Exploitation of this vulnerability can lead to arbitrary code execution on the affected device.

Reproduction

To reproduce this vulnerability, first enable the UPNP service on a DD-WRT device running version 45723 or prior. Once UPNP is active, a proof-of-concept script can be executed to send an M-SEARCH packet with an oversized UUID payload. This will cause the UPNP service to crash, demonstrating the buffer overflow exploitation.

Remediation

Users can update to the latest version of DD-WRT, which includes a fix for this vulnerability. The updated version can be downloaded from the DD-WRT Router Database.

Added: Jan 21, 2026, 6:25 PM
Updated: Jan 21, 2026, 6:25 PM

Vulnerability Rating

Custom Algorithm
spread
6.8
impact
7.5
exploitability
5.7
remediation
8.3
relevance
2.2
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.