Skip to main content

Zyxel VMG4005-B50B EUVDEUVD-2026-33876

| CVE-2026-3871 MEDIUM
Classic Buffer Overflow (CWE-120)
2026-06-02 Zyxel GHSA-c8pm-7pr3-cmh3
6.5
CVSS 3.1 · Vendor: Zyxel
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain adjacent LAN access
  2. Delivery
    Discover UPnP service via SSDP broadcast
  3. Exploit
    Craft malformed DeletePortMapping() SOAP request
  4. Execution
    Send oversized parameter to UPnP daemon
  5. Persist
    Trigger buffer overflow, crash UPnP process
  6. Impact
    UPnP 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

VMG4005-B50B firmware ≤ 5.13(ABRL.5.4)C0

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

Vendor (Zyxel) PRIMARY 6.5 MEDIUM
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

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

EPSS Score
0.0%
Top 96% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy