A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-3870

CVE-2026-3870: Zyxel VMG4005-B50B UPnP DoS Vulnerability

CVE-2026-3870 is a buffer overflow denial-of-service vulnerability in Zyxel VMG4005-B50B routers affecting the UPnP AddPortMapping() command. This article covers the technical details, affected firmware versions, and mitigation steps.

Published: June 4, 2026

CVE-2026-3870 Overview

CVE-2026-3870 is a buffer overflow vulnerability [CWE-120] in the Universal Plug and Play (UPnP) AddPortMapping() command implementation of the Zyxel VMG4005-B50B DSL Ethernet customer premises equipment (CPE). The flaw affects firmware versions through 5.13(ABRL.5.4)C0. An adjacent network attacker can send crafted UPnP requests to overflow an internal buffer and cause a temporary denial-of-service (DoS) condition against the UPnP function of the device. Exploitation requires no authentication and no user interaction, but the attacker must reside on the same local network segment as the affected device.

Critical Impact

An unauthenticated attacker on the adjacent network can disrupt the UPnP service on affected Zyxel VMG4005-B50B routers, impacting dynamic port-mapping functionality used by downstream applications.

Affected Products

  • Zyxel VMG4005-B50B DSL Ethernet CPE
  • Firmware versions through 5.13(ABRL.5.4)C0
  • UPnP AddPortMapping() command handler

Discovery Timeline

  • 2026-06-02 - CVE-2026-3870 published to NVD
  • 2026-06-02 - Zyxel publishes security advisory for UPnP buffer overflow vulnerabilities
  • 2026-06-02 - Last updated in NVD database

Technical Details for CVE-2026-3870

Vulnerability Analysis

The vulnerability resides in the UPnP service handler that processes AddPortMapping() SOAP requests on the Zyxel VMG4005-B50B. UPnP AddPortMapping() allows a LAN client to instruct the gateway to create a Network Address Translation (NAT) port-forwarding rule. The handler fails to enforce proper bounds checking when copying one or more arguments from the incoming SOAP envelope into a fixed-size stack or heap buffer. When the input length exceeds the destination buffer size, adjacent memory is overwritten, corrupting program state and causing the UPnP daemon to crash. The condition is transient: only the UPnP service is impacted, and routing, firewall, and management functions remain available. The CWE-120 classification ("Buffer Copy without Checking Size of Input") aligns with the missing length validation on user-supplied UPnP parameters.

Root Cause

The root cause is an unchecked memory copy operation in the UPnP AddPortMapping() parameter parser. SOAP arguments such as NewExternalPort, NewInternalClient, NewPortMappingDescription, or NewProtocol are copied into a fixed-size buffer without validating the source length against the destination capacity. This is a classic CWE-120 boundary error pattern in embedded C network services.

Attack Vector

Exploitation requires adjacent network access, typically a host on the same LAN or Wi-Fi segment as the router. The attacker sends a crafted UPnP SOAP POST request to the device's UPnP control URL with an oversized argument value. No authentication is required because UPnP control endpoints on consumer CPE are generally unauthenticated by design. The result is corruption of the UPnP daemon's memory and a service crash, denying port-mapping operations to legitimate clients until the daemon restarts.

No verified public exploitation code is available. See the Zyxel Security Advisory on Buffer Overflow for vendor-supplied technical details.

Detection Methods for CVE-2026-3870

Indicators of Compromise

  • Repeated crash or restart events for the UPnP daemon (commonly miniupnpd or a Zyxel-branded UPnP process) in device system logs.
  • Loss of dynamic port-forwarding functionality reported by LAN applications such as gaming consoles, VoIP clients, or peer-to-peer software.
  • Inbound UPnP SOAP requests to TCP port 5000 or 49152-65535 containing abnormally large AddPortMapping argument values.

Detection Strategies

  • Capture LAN traffic at the router and inspect HTTP/SOAP payloads for AddPortMapping requests where any argument exceeds typical lengths (for example, descriptions longer than 64 bytes or hostnames longer than 255 bytes).
  • Correlate device syslog events showing UPnP daemon termination with source IP addresses of recent UPnP control requests.
  • Monitor SNMP or syslog feeds from the CPE for repeated UPnP service restarts within short time windows.

Monitoring Recommendations

  • Forward Zyxel CPE syslog output to a central log collector and alert on UPnP service crash strings.
  • Baseline normal UPnP request volume per LAN host to detect anomalous bursts of malformed AddPortMapping calls.
  • Track firmware version inventory across managed CPE fleets to identify devices still running versions through 5.13(ABRL.5.4)C0.

How to Mitigate CVE-2026-3870

Immediate Actions Required

  • Apply the fixed firmware published in the Zyxel security advisory as soon as it is available for the VMG4005-B50B platform.
  • Disable UPnP on the affected router if dynamic port mapping is not required by LAN applications.
  • Restrict LAN access to trusted devices, since exploitation requires an attacker on the adjacent network.

Patch Information

Zyxel has published a security advisory covering buffer overflow vulnerabilities in the UPnP function of certain 4G LTE, 5G NR, and DSL Ethernet CPE devices. Administrators should consult the Zyxel Security Advisory on Buffer Overflow for the specific fixed firmware version for the VMG4005-B50B and follow the vendor's upgrade procedure.

Workarounds

  • Disable the UPnP service from the router's web management interface under the NAT or UPnP configuration page.
  • Segment untrusted devices (guest Wi-Fi, IoT) onto a separate VLAN that cannot reach the router's UPnP control endpoint.
  • Block inbound UPnP SOAP requests from untrusted LAN segments using the router's built-in firewall rules where supported.
bash
# Configuration example: disable UPnP via Zyxel CLI
configure terminal
no ip upnp
write memory
exit

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechZyxel

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-120
  • Technical References
  • Zyxel Security Advisory on Buffer Overflow
  • Related CVEs
  • CVE-2026-3871: Zyxel VMG4005-B50B DoS Vulnerability

  • CVE-2026-7287: Zyxel NWA1100-N Firmware DoS Vulnerability

  • CVE-2026-6058: Zyxel WRE6505 v2 DoS Vulnerability

  • CVE-2025-11847: Zyxel LTE3301-Plus Firmware DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English