Skip to main content
Vulnerability Database/CVE-2026-55862

CVE-2026-55862: pupnp SDK DOS Vulnerability

CVE-2026-55862 is a denial of service vulnerability in the pupnp SDK that allows unauthenticated attackers to crash UPnP services via deeply nested XML. This article covers technical details, affected versions, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-55862 Overview

CVE-2026-55862 is an uncontrolled recursion vulnerability [CWE-674] in the pupnp SDK, a widely used library for building Universal Plug and Play (UPnP) device and control point applications. Multiple DOM traversal routines in the bundled ixml XML parser recurse over firstChild and nextSibling links without bounding depth. An unauthenticated attacker on the adjacent network can submit a deeply nested XML payload inside a SOAP request, exhaust the service thread's stack, and crash the UPnP service. The flaw is an incomplete fix for CVE-2021-28302, whose patch only addressed ixmlNode_free. The issue is resolved in pupnp release 2.0.0.

Critical Impact

Unauthenticated adjacent-network attackers can crash UPnP services on any device embedding vulnerable pupnp versions, enabling denial-of-service against routers, media servers, and IoT devices.

Affected Products

  • pupnp SDK versions prior to 2.0.0
  • Applications and firmware embedding the pupnp ixml XML parser
  • UPnP-enabled devices exposing SOAP endpoints built on pupnp

Discovery Timeline

  • 2026-10-16 - CVE-2026-55862 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-55862

Vulnerability Analysis

The pupnp iterative XML parser accepts documents of arbitrary nesting depth. Once a document is parsed into a DOM tree, several traversal functions walk the tree using unbounded recursion. The affected functions are ixmlPrintDomTreeRecursive in ixml/src/ixml.c, along with ixmlNode_getElementsByTagNameRecursive, ixmlNode_getElementsByTagNameNSRecursive, ixmlNode_cloneNodeTreeRecursive, and ixmlNode_isAncestor in ixml/src/node.c.

Each recursive call consumes stack frames proportional to document depth. A SOAP request containing thousands of nested XML elements forces the service thread to recurse deeply enough to exhaust the thread's stack, triggering a segmentation fault and process termination.

Root Cause

The underlying defect is uncontrolled recursion over attacker-controlled tree depth. The original remediation for CVE-2021-28302 converted ixmlNode_free to an iterative implementation but left the sibling- and child-traversal routines recursive. Because ixml imposes no limit on nesting during parsing, every recursive traversal path remains a reachable denial-of-service primitive.

Attack Vector

Exploitation requires network reachability to a UPnP endpoint running on the local or adjacent network segment. The attacker sends a SOAP request whose XML body contains deeply nested elements, for example a long chain of <a><a><a>...</a></a></a>. When the service parses the request and subsequently invokes any affected traversal function, the thread's stack is exhausted and the service crashes. No authentication, user interaction, or prior access is required.

See the GitHub Security Advisory GHSA-25cx-xv8x-j247 for additional technical detail.

Detection Methods for CVE-2026-55862

Indicators of Compromise

  • Unexpected termination or restart of UPnP services on devices embedding pupnp
  • Core dumps or crash logs referencing ixml.c or node.c functions
  • SOAP requests to UPnP endpoints containing abnormally deep XML element nesting
  • Repeated short-lived TCP connections to UPnP ports (typically 1900/udp for SSDP and ephemeral HTTP ports) from a single local host

Detection Strategies

  • Inspect HTTP/SOAP traffic to UPnP control endpoints for XML payloads exceeding a reasonable nesting depth, for example 32 levels
  • Correlate UPnP service crashes with inbound SOAP requests from the same source address within a short time window
  • Monitor host telemetry for repeated segmentation faults in processes linking libupnp or libixml

Monitoring Recommendations

  • Enable application crash reporting on devices and appliances that embed pupnp
  • Alert on sustained SOAP request bursts to UPnP endpoints from non-management hosts
  • Track software bills of materials to identify firmware and products shipping pupnp versions prior to 2.0.0

How to Mitigate CVE-2026-55862

Immediate Actions Required

  • Upgrade pupnp to release 2.0.0 or later in all applications and firmware builds
  • Inventory devices and products that embed pupnp and prioritize patching exposed UPnP services
  • Restrict UPnP service exposure to trusted network segments and block adjacent-network access where UPnP is not required

Patch Information

The fix landed in pupnp release 2.0.0 via commit 82ccaec7, which converts the affected traversal functions to iterative implementations. Downstream maintainers should rebuild products against the patched release and distribute firmware updates to affected devices.

Workarounds

  • Disable UPnP services on devices that do not require them
  • Enforce XML nesting depth limits at an upstream reverse proxy or application-layer firewall before requests reach pupnp
  • Segment IoT and UPnP-capable devices onto an isolated VLAN to limit adjacent-network reachability
  • Rate-limit SOAP requests to UPnP endpoints to reduce impact of repeated crash attempts
bash
# Example: block external access to common UPnP SOAP ports at the host firewall
iptables -A INPUT -p udp --dport 1900 -s 0.0.0.0/0 -j DROP
iptables -A INPUT -p tcp --dport 49152:49170 -s 0.0.0.0/0 -j DROP

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.