Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain adjacent network access
-
DeliveryAuthenticate to LAN
-
ExploitDiscover UPnP service on router
-
InstallSend crafted AddPortMapping SOAP request
-
C2Trigger buffer overflow in miniupnpd
-
ExecuteOverwrite stack return address
-
ImpactExecute arbitrary code as root
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must have adjacent network access (AV:A), meaning physical presence on the same network segment as the vulnerable router via WiFi association or wired Ethernet connection. Low-privilege authentication (PR:L) to the local network is required - the attacker needs valid network credentials to join the LAN but does not need router administrative access. The vulnerable miniupnpd service must be enabled on the router (UPnP is commonly enabled by default on consumer routers but can be disabled via admin interface). Exploitation is limited to D-Link DIR-825 devices running firmware 3.00b32 or earlier. Attack does not work remotely over the internet (AV:A excludes network-based attacks) and requires no user interaction (UI:N). The adjacent-network requirement significantly limits exploitation to scenarios where attackers have already breached the network perimeter or are malicious insiders. |
| Impact | Real-world risk is compartmentalized by attack surface constraints despite high technical impact. CVSS 4.0 vector (AV:A/AC:L/PR:L) indicates adjacent network access and low-privilege authentication are required - attackers must already be on the local network (WiFi or wired LAN) with valid credentials. This substantially limits exposure compared to internet-facing vulnerabilities. The EPSS score of 0.03% (7th percentile) confirms minimal observed exploitation activity, aligning with the adjacent-network prerequisite that restricts attack scope to insider threats or compromised LAN clients. SSVC framework categorizes this as POC exploitation with non-automatable attack (requires custom targeting) but total technical impact (full device compromise). No CISA KEV listing exists. Critical limiting factor: the product is end-of-life with no vendor support, meaning organizations still deploying DIR-825 routers face permanent exposure. The publicly available POC raises risk for targeted attacks against organizations known to use legacy D-Link infrastructure, but the adjacent-network requirement prevents mass internet scanning exploitation. |
| Exploit ScenarioDerived | An attacker who has gained access to the local network (either by compromising a workstation on the LAN, connecting to the WiFi with valid credentials, or physically accessing an Ethernet port) crafts a malicious UPnP SOAP request targeting the router's miniupnpd service. The attacker sends an AddPortMapping command with an oversized NewPortMappingDescription parameter, triggering the stack-based buffer overflow in upnpsoap.c. Successful exploitation overwrites return addresses on the stack, allowing arbitrary code execution with the privileges of the miniupnpd daemon (typically root), resulting in complete router compromise. Public exploit code documented at https://tzh00203.notion.site/D-Link-DIR-825-miniupnpd-AddPortMapping-Stack-Overflow-337b5c52018a8028988ecc9daded409e demonstrates the attack feasibility. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 29, 2026
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.
Earlier versions of this analysis (1)
Stack-based buffer overflow in D-Link DIR-825's miniupnpd service (firmware ≤3.00b32) allows authenticated attackers on the same network segment to execute arbitrary code with device privileges via crafted UPnP AddPortMapping requests. Public exploit code exists, demonstrating exploitation via manipulation of the NewPortMappingDescription parameter in upnpsoap.c. EPSS data unavailable, but impact is HIGH (CVSS 8.6) with low attack complexity. CRITICAL: This vulnerability affects end-of-life products no longer supported by D-Link - no vendor patch will be released.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Dir 825 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.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.
Executive ViewAI
D-Link DIR-825 routers contain a buffer overflow vulnerability in the UPnP service that allows authenticated network attackers to completely compromise affected devices. Organizations using this end-of-life router model face elevated risk because no vendor patch will be released, and public exploit code is available, leaving devices permanently vulnerable to local network attacks.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable UPnP/miniupnpd service in device settings to eliminate attack vector; (2) Restrict network access to router via firewall rules blocking unnecessary adjacent network connections; (3) Segment DIR-825 devices to isolated VLANs separate from critical systems; (4) Replace with currently-supported router models on accelerated timeline.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Related Vulnerabilities in D-Link DIR-825 Buffer Overflow Vulnerabilities
View all 2Out-of-bounds write in the rp-l2tp component of D-Link DIR-825 firmware 3.00b32 allows a remote, unauthenticated attacke
An OS command injection vulnerability exists in D-Link DIR-825 and DIR-825R routers running firmware versions 1.0.5 and
EUVD-2026-25744
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB