Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent LAN access
-
DeliveryDiscover UPnP service via SSDP broadcast
-
ExploitCraft malformed DeletePortMapping() SOAP request
-
ExecutionSend oversized parameter to UPnP daemon
-
PersistTrigger buffer overflow, crash UPnP process
-
ImpactUPnP service temporarily unavailable
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 | The UPnP service must be enabled and accessible on the LAN interface of the VMG4005-B50B - UPnP is commonly enabled by default on consumer CPE devices but this default status for this specific model is not confirmed in available data. The attacker must have adjacent network access (AV:A), meaning presence on the same local network segment, VLAN, or broadcast domain as the affected device; remote internet-based exploitation is not possible per the CVSS vector. No authentication is required (PR:N) and no user interaction is needed (UI:N), so any device or host on the adjacent network can trigger the condition. Exploitation is limited to a temporary, recoverable DoS of the UPnP function only - it does not achieve code execution, credential disclosure, or persistent compromise based on available data. The temporary nature of the DoS (implying process recovery or reboot restores functionality) further limits operational impact. |
| Impact | The CVSS 6.5 Medium score is appropriate and arguably reflects realistic risk well for this class of vulnerability. The adjacent-network attack vector (AV:A) is the primary risk-limiting factor: exploitation requires the attacker to already be on the same Layer-2 broadcast domain or logical network segment as the CPE device, ruling out arbitrary internet-based attackers. Within that constraint, however, exploitation is straightforward - AC:L (low complexity), PR:N (no authentication), UI:N (no user interaction) - meaning any device co-located on the LAN (a guest on a home network, a compromised IoT device, a rogue hotspot user) could trigger the crash with minimal effort. The impact is constrained to temporary availability loss (A:H, C:N, I:N): UPnP service disruption is generally recoverable via service restart or device reboot, and does not expose credentials or allow code execution based on available data. No EPSS score was provided, and neither a CISA KEV listing nor public exploit code has been identified, suggesting this is not currently under active or opportunistic exploitation. Real-world priority is low-to-medium for most deployments; higher if the device is deployed in environments where UPnP availability is operationally critical or where LAN trust boundaries are weak (e.g., shared broadband infrastructure). |
| Exploit ScenarioDerived | An attacker already present on the local network - for example, a guest Wi-Fi user, a compromised smart-home device, or an insider - crafts a malformed UPnP SOAP request invoking the DeletePortMapping() action with an oversized or malformed parameter string and sends it directly to the VMG4005-B50B's UPnP service port. The oversized input overflows the target buffer within the UPnP daemon, corrupting memory and crashing the process, rendering UPnP functionality temporarily unavailable until the service or device restarts. No public exploit code has been identified, but the low attack complexity (AC:L) and standard UPnP protocol familiarity make independent exploit development straightforward for a motivated attacker with LAN access. |
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 DeletePortMapping() command of Zyxel VMG4005-B50B DSL/Ethernet CPE firmware (through 5.13(ABRL.5.4)C0) enables an unauthenticated adjacent-network attacker to crash the device's UPnP service. The impact is a temporary, recoverable denial-of-service confined to the UPnP function - availability is fully affected (A:H) while confidentiality and integrity remain unimpacted (C:N/I:N). No public exploit code or CISA KEV listing exists at time of analysis; the vulnerability was disclosed by Zyxel itself on 2026-06-02.
RemediationAI
The primary remediation is to apply the patch or firmware update identified in Zyxel's 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; however, no specific patched firmware version number was included in the available input data, so the exact target version cannot be independently confirmed here - consult the advisory directly for the confirmed fix version before upgrading. As a compensating control where patching is not immediately possible, disabling the UPnP service entirely on the VMG4005-B50B removes the attack surface completely; the trade-off is that applications relying on automatic UPnP port-forwarding (gaming consoles, P2P clients, some VoIP adapters) will require manual port-forwarding configuration. Additionally, restricting LAN-side access to the device's UPnP port (typically UDP 1900 / SSDP and TCP 5000) via ACLs or firewall rules on upstream network equipment reduces exposure to trusted hosts only. Given the adjacent-network attack vector, ensuring that untrusted devices cannot reach the same broadcast domain as the CPE (e.g., proper VLAN segmentation for guest networks) provides a meaningful architectural mitigation.
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 (Buffer Copy without Checking Size of Input) describes the root cause: the UPnP service's handler for the DeletePortMapping() action fails to validate the length of attacker-controlled input before copying it into a fixed-size stack or heap buffer, resulting in a classic stack/heap overflow that corrupts process state and crashes the UPnP daemon. UPnP (Universal Plug and Play) is a network protocol suite common on CPE devices that enables automatic port-forwarding discovery; DeletePortMapping is a standard UPnP WANIPConnection action that removes an existing port mapping entry. The affected product - identified by CPE cpe:2.3:a:zyxel:vmg4005-b50b_firmware:*:*:*:*:*:*:*:* - is a Zyxel DSL/Ethernet customer premises equipment (CPE) device, consistent with the advisory's broader scope covering '4G/LTE, 5G NR CPE and DSL Ethernet CPE' product lines. The CVSS attack vector of AV:A (Adjacent) reflects that UPnP traffic operates over the local network segment and is not normally routable across the 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 DeletePortMapping() 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-33876
GHSA-c8pm-7pr3-cmh3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB