Severity by source
CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
9DescriptionCVE.org
A security flaw has been discovered in D-Link DIR-825 up to 3.00b32. This impacts the function AddPortMapping of the file upnpsoap.c of the component miniupnpd. Performing a manipulation of the argument NewPortMappingDescription results in buffer overflow. The attack needs to be approached within the local network. The exploit has been released to the public and may be used for attacks. This vulnerability only affects products that are no longer supported by the maintainer.
AnalysisAI
Buffer overflow in D-Link DIR-825 router's miniupnpd service allows authenticated adjacent network attackers to achieve complete device compromise through malicious UPnP SOAP requests. Affects DIR-825 firmware versions up to 3.00b32, which D-Link no longer supports. Public exploit code exists (CVSS:4.0 7.3 High), but EPSS probability remains low at 0.03% (7th percentile), suggesting limited real-world exploitation activity. Remediation options are constrained as the product has reached end-of-life status.
Technical ContextAI
The vulnerability resides in miniupnpd, a lightweight UPnP (Universal Plug and Play) Internet Gateway Device daemon commonly embedded in consumer routers to enable automatic port forwarding. The flaw occurs in the AddPortMapping function within upnpsoap.c, where insufficient bounds checking on the NewPortMappingDescription parameter allows attackers to overflow a stack-based buffer (CWE-120). UPnP services typically listen on the local network interface (commonly port 1900/UDP for SSDP discovery and ephemeral TCP ports for SOAP control), making them accessible to adjacent network attackers. The D-Link DIR-825 (CPE: cpe:2.3:a:d-link:dir-825:*:*:*:*:*:*:*:*) runs this vulnerable miniupnpd implementation in firmware versions through 3.00b32.
RemediationAI
No vendor-released patch exists or will be developed as D-Link has ended support for the DIR-825 product line. Organizations must implement hardware replacement or network segmentation controls. Primary recommendation: Replace DIR-825 routers with currently supported models that receive active security updates. If immediate replacement is infeasible, implement these compensating controls with noted trade-offs: (1) Disable UPnP functionality entirely via router admin interface (breaks applications relying on automatic port forwarding such as gaming consoles, VoIP phones, and some IoT devices); (2) Isolate DIR-825 devices on a dedicated VLAN with strict firewall rules limiting lateral movement (requires managed switch infrastructure and reduces network performance for segmented devices); (3) Implement 802.1X network access control or WPA3-Enterprise authentication to prevent unauthorized LAN access (increases administrative overhead and may not be supported by legacy clients). All compensating controls only reduce attack surface but do not eliminate the vulnerability. Full details: https://vuldb.com/vuln/359644 and https://tzh00203.notion.site/D-Link-DIR-825-miniupnpd-AddPortMapping-Stack-Overflow-337b5c52018a8028988ecc9daded409e.
Same weakness CWE-120 – Classic Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25744