Skip to main content

Zyxel VMG4005-B50B CVE-2026-3870

| EUVDEUVD-2026-33873 MEDIUM
Classic Buffer Overflow (CWE-120)
2026-06-02 Zyxel GHSA-r75m-m2v9-89vv
6.5
CVSS 3.1 · Vendor: Zyxel
View

Attack ChainAIDerived

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

  1. Recon
    Gain adjacent LAN/network-segment access
  2. Delivery
    Discover UPnP service via SSDP M-SEARCH broadcast
  3. Exploit
    Craft oversized AddPortMapping SOAP request
  4. Install
    Send to UPnP control URL
  5. C2
    Trigger buffer overflow in firmware handler
  6. Execute
    UPnP service crashes
  7. Impact
    Temporary 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.

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

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 (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

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

EPSS Score
0.0%
Top 96% exploitable
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