Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain adjacent LAN/network-segment access
-
DeliveryDiscover UPnP service via SSDP M-SEARCH broadcast
-
ExploitCraft oversized AddPortMapping SOAP request
-
InstallSend to UPnP control URL
-
C2Trigger buffer overflow in firmware handler
-
ExecuteUPnP service crashes
-
ImpactTemporary DoS on port-mapping function
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 | UPnP must be enabled on the device - this is frequently the default configuration for consumer and ISP-supplied CPE. The attacker must be positioned on the same Layer-2 network segment or directly adjacent network as the device (CVSS AV:A), which excludes remote internet exploitation. No authentication is required (CVSS PR:N) and no user interaction is needed (UI:N), so any unauthenticated host with adjacent network access can trigger the overflow. Exploitation is limited to causing a temporary crash of the UPnP service only - there is no confidentiality or integrity impact (C:N/I:N), and the device itself is not fully brought down. The DoS is described as temporary, implying the UPnP process restarts automatically, which limits sustained impact. Devices with UPnP explicitly disabled are not affected. |
| Impact | The CVSS 6.5 Medium score reflects a meaningful but bounded risk profile. The Adjacent attack vector (AV:A) is the primary limiting factor - exploitation requires the attacker to already have a foothold on the local network (LAN, same Wi-Fi segment, or directly connected interface), ruling out remote internet-scale exploitation. Attack complexity is Low (AC:L) and no authentication is required (PR:N/UI:N), meaning any LAN-connected device or attacker with adjacent access could trigger this without credentials. The impact is exclusively availability (A:H, C:N, I:N), and the DoS is described as temporary - the UPnP service likely recovers without a full device reboot, further reducing operational impact. No EPSS score was provided in the source data, so exploitation probability cannot be quantified. The absence of KEV listing and public POC code suggests this is not under active mass exploitation. The Zyxel-self-reported nature of the disclosure is a positive signal for vendor accountability but does not confirm a patched version has shipped. Real-world priority is moderate: elevated for ISP-managed CPE fleets where LAN-adjacent threat actors (e.g., compromised internal hosts, rogue customers on shared segments) are a plausible scenario, but low for isolated home deployments. |
| Exploit ScenarioDerived | An attacker with access to the same LAN segment as the Zyxel VMG4005-B50B - such as a compromised internal host or a malicious actor on a shared network - crafts a malformed UPnP SOAP AddPortMapping request with an oversized or malformed parameter that exceeds the handler's internal buffer. Sending this request triggers the buffer overflow in the UPnP daemon, causing the service to crash and temporarily denying port-mapping functionality to legitimate LAN clients. No authentication is needed to issue UPnP control commands in a standard UPnP deployment, making this trivially repeatable to sustain the DoS. No public POC has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
Buffer overflow in the UPnP AddPortMapping() command handler on Zyxel VMG4005-B50B DSL/Ethernet CPE devices allows adjacent unauthenticated attackers to crash the UPnP service, causing a temporary denial-of-service condition. Affected firmware versions run through 5.13(ABRL.5.4)C0, and the vulnerability was self-disclosed by Zyxel in a June 2026 advisory covering multiple CPE product lines. No public exploit code exists and this vulnerability has not been confirmed as actively exploited (not in CISA KEV).
RemediationAI
Consult the Zyxel security advisory at https://www.zyxel.com/global/en/support/security-advisories/zyxel-security-advisory-for-buffer-overflow-vulnerabilities-in-the-upnp-function-of-certain-4g-lte-5g-nr-cpe-and-dsl-ethernet-cpe-06-02-2026 for patched firmware versions - a specific fix version was not included in the available input data, so 'Patch available per vendor advisory' is the confirmed status. Apply any Zyxel-released firmware update above version 5.13(ABRL.5.4)C0 once validated. As a compensating control, disable UPnP on the VMG4005-B50B via the device administration interface if UPnP is not required by connected clients; this eliminates the attack surface entirely but may break applications that rely on automatic port mapping (e.g., gaming consoles, VoIP clients, BitTorrent). Restrict LAN-side access to the UPnP control port if the device supports per-interface UPnP scoping. For ISP-managed deployments, consider pushing a configuration policy that disables UPnP fleet-wide pending firmware availability.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-120 (Classic Buffer Overflow) describes the root cause: the UPnP AddPortMapping() handler fails to properly validate the length or bounds of attacker-supplied input before writing it into a fixed-size buffer, corrupting adjacent memory and crashing the UPnP service process. UPnP uses SOAP over HTTP (typically on port 1900/UDP for discovery and a TCP port for control), allowing LAN-side clients to dynamically request port-forwarding rules from the router. The affected CPE string (cpe:2.3:a:zyxel:vmg4005-b50b_firmware) identifies the VMG4005-B50B as a DSL/Ethernet CPE device - a class of customer-premises equipment commonly deployed by ISPs. Because UPnP is frequently enabled by default on consumer and SOHO routers, the attack surface is present in typical deployments. The CVSS attack vector of Adjacent (AV:A) confines exploitation to the same broadcast domain or directly connected network segment rather than the open internet.
Know when Vmg4005 B50B Firmware 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
AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (Zyxel) · only source for this CVE.
CVSS VectorVendor: Zyxel
DescriptionCVE.org
A buffer overflow vulnerability in the UPnP AddPortMapping() command in Zyxel VMG4005-B50B firmware versions through 5.13(ABRL.5.4)C0 could allow an adjacent attacker to trigger a temporary denial-of-service (DoS) condition affecting the UPnP function of the affected device.
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 Zyxel VMG4005-B50B UPnP Buffer Overflows
View all 2More in Vmg4005 B50B Firmware
View allA post-authentication command injection vulnerability in the "priv" parameter of Zyxel DX3300-T0 firmware version 5.50(A
Slowloris-style denial of service in Zyxel DX3301-T0 firmware 5.50(ABVY.6.3)C0 and earlier, with the vendor advisory cov
A buffer overflow vulnerability in the packet parser of the third-party library "libclinkc" in Zyxel VMG8825-T50K firmwa
A post-authentication command injection vulnerability in the "host" parameter of the diagnostic function in Zyxel VMG400
EUVD-2026-33873
GHSA-r75m-m2v9-89vv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB