The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-5720

CVE-2026-5720: miniupnpd Integer Underflow DoS Vulnerability

CVE-2026-5720 is an integer underflow flaw in miniupnpd's SOAPAction header parsing that enables denial of service attacks and information disclosure through out-of-bounds memory reads. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: April 23, 2026

CVE-2026-5720 Overview

CVE-2026-5720 is an integer underflow vulnerability in miniupnpd's SOAPAction header parsing that allows remote attackers to cause a denial of service or information disclosure by sending a malformed SOAPAction header with a single quote. Attackers can trigger an out-of-bounds memory read by exploiting improper length validation in ParseHttpHeaders(), where the parsed length underflows to a large unsigned value when passed to memchr(), causing the process to scan memory far beyond the allocated HTTP request buffer.

Critical Impact

This vulnerability enables attackers on adjacent networks to crash the miniupnpd daemon or potentially leak sensitive memory contents through out-of-bounds read operations, compromising the integrity and availability of network services on affected routers and IoT devices.

Affected Products

  • miniupnpd versions prior to 2.3.10
  • Network routers and IoT devices running vulnerable miniupnpd versions
  • UPnP-enabled gateway devices with miniupnpd service

Discovery Timeline

  • 2026-04-17 - CVE CVE-2026-5720 published to NVD
  • 2026-04-20 - Last updated in NVD database

Technical Details for CVE-2026-5720

Vulnerability Analysis

This integer underflow vulnerability (CWE-125: Out-of-bounds Read) resides in the HTTP header parsing logic of miniupnpd, specifically within the ParseHttpHeaders() function. When processing SOAPAction headers, the code calculates the length of the header value by subtracting pointer positions. If a malformed header contains only a single quote character, the subtraction operation results in a negative value that, when interpreted as an unsigned integer, underflows to an extremely large positive value.

The vulnerability requires an attacker to be on the adjacent network (local network access) to reach the UPnP service, which typically listens on port 1900 for SSDP discovery and port 5000 for SOAP requests. No authentication or user interaction is required to exploit this flaw.

Root Cause

The root cause is insufficient input validation in the SOAPAction header parsing code. When the parser encounters a malformed SOAPAction header with a single quote character, the length calculation produces a negative result. This negative value is then passed as an unsigned size parameter to memchr(), causing it to interpret the value as a very large positive number and scan memory well beyond the intended buffer boundaries.

Attack Vector

An attacker on the adjacent network can craft a malicious HTTP request containing a SOAPAction header with only a single quote character. When miniupnpd processes this request, the integer underflow triggers memchr() to perform an out-of-bounds memory scan. This can result in:

  1. Denial of Service: The process may crash when accessing unmapped memory regions
  2. Information Disclosure: Memory contents beyond the HTTP buffer may be exposed in error responses or logs

The attack requires adjacent network access, as UPnP services are typically not exposed to the internet. However, many consumer routers and IoT devices run miniupnpd by default, creating a large attack surface on local networks.

Detection Methods for CVE-2026-5720

Indicators of Compromise

  • Unusual miniupnpd process crashes or restarts without clear cause
  • Malformed HTTP requests to UPnP ports (1900, 5000) containing single-quote SOAPAction headers
  • Memory access violations or segmentation faults in miniupnpd logs
  • Unexpected network traffic patterns targeting UPnP services from internal hosts

Detection Strategies

  • Monitor for HTTP requests to UPnP services containing malformed or unusually short SOAPAction headers
  • Implement network intrusion detection rules to identify SOAPAction headers with only quote characters
  • Configure process monitoring to alert on repeated miniupnpd crashes or abnormal restarts
  • Deploy endpoint detection to identify exploitation attempts targeting UPnP parsing functions

Monitoring Recommendations

  • Enable verbose logging on miniupnpd to capture malformed request details
  • Set up automated alerts for miniupnpd service interruptions
  • Monitor system logs for segmentation faults or memory access violations related to miniupnpd
  • Implement network segmentation monitoring to detect lateral movement following UPnP exploitation

How to Mitigate CVE-2026-5720

Immediate Actions Required

  • Update miniupnpd to version 2.3.10 or later immediately
  • Disable UPnP services on devices where the feature is not required
  • Implement network segmentation to limit exposure of UPnP-enabled devices
  • Apply firewall rules to restrict access to UPnP ports from untrusted network segments

Patch Information

The miniupnpd development team has released version 2.3.10 to address this vulnerability. The fix implements proper bounds checking in the SOAPAction header parsing logic to prevent integer underflow conditions. The patch is available through the GitHub MiniUPnP Repository and the specific security commit.

The changelog confirms the fix:

text
 $Id: Changelog.txt,v 1.535 2025/04/26 13:07:53 nanard Exp $
 
+VERSION 2.3.9 : released on 2026/03/24
+
 2026/03/24:
   fix missing fclose and potential double free in option file parsing

Source: GitHub MiniUPnP Commit

The version update to 2.3.10 is reflected in the project documentation:

text
 # could be handy for archiving the generated documentation or if some version
 # control system is used.
 
-PROJECT_NUMBER         = 2.3.9
+PROJECT_NUMBER         = 2.3.10
 
 # Using the PROJECT_BRIEF tag one can provide an optional one line description
 # for a project that appears at the top of each page and should give viewer a

Source: GitHub MiniUPnP Commit

For additional technical details, refer to the VulnCheck Advisory on MiniUPnPd.

Workarounds

  • Disable UPnP functionality entirely if not required for network operations
  • Configure firewall rules to block external access to UPnP ports (UDP 1900, TCP 5000)
  • Implement network access controls to restrict which devices can communicate with UPnP services
  • Consider deploying a reverse proxy or application firewall to filter malformed SOAPAction headers
bash
# Firewall rules to restrict UPnP access (iptables example)
# Block external access to SSDP discovery port
iptables -A INPUT -p udp --dport 1900 -i eth0 -j DROP

# Block external access to UPnP SOAP port
iptables -A INPUT -p tcp --dport 5000 -i eth0 -j DROP

# Allow only trusted internal network segments
iptables -A INPUT -p udp --dport 1900 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 5000 -s 192.168.1.0/24 -j ACCEPT

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMiniupnpd

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-125
  • Technical References
  • GitHub MiniUPnP Repository

  • GitHub MiniUPnP Commit

  • VulnCheck Advisory on MiniUPnPd
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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