CVE-2026-55862

pupnp: Incomplete fix for CVE-2021-28302: recursive DOM functions cause stack overflow

Published Oct 16, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.0, multiple ixml DOM traversal functions process deeply nested XML with unbounded recursion. The iterative XML parser accepts the document, but ixmlPrintDomTreeRecursive in ixml/src/ixml.c and ixmlNode_getElementsByTagNameRecursive, ixmlNode_getElementsByTagNameNSRecursive, ixmlNode_cloneNodeTreeRecursive, and ixmlNode_isAncestor in ixml/src/node.c recurse over firstChild and nextSibling links. An unauthenticated peer on the local network can supply deeply nested XML through a SOAP request, exhaust a service thread's stack, and crash the UPnP service. This is an incomplete-fix case for CVE-2021-28302 because its remediation converted ixmlNode_free but left these traversal paths recursive. This issue is fixed in 2.0.0.

Analysis

AI-generated

Technical impact

The vulnerability arises from unbounded recursion in several ixml DOM traversal functions, including ixmlPrintDomTreeRecursive, ixmlNode_getElementsByTagNameRecursive, ixmlNode_getElementsByTagNameNSRecursive, ixmlNode_cloneNodeTreeRecursive, and ixmlNode_isAncestor. An attacker on the local network can send a SOAP request containing a deeply nested XML document. The recursive calls exhaust the service thread’s stack, causing the UPnP service to crash. This results in a denial‑of‑service condition while not granting additional authentication or data exposure, as the exploit requires unauthenticated local access.

Affected Systems

pupnp SDK versions released before 2.0.0. The issue is present in all builds that include the ixml library functions listed above.

Risk and Exploitability

The published CVSS score of 6.5 indicates a medium severity risk. No EPSS data is available and the vulnerability is not catalogued in the CISA KEV list. The attack vector is local network, unauthenticated; the attacker only needs the ability to send a SOAP request to the UPnP service. Since the vulnerability is a stack exhaustion, once triggered it leads to a service crash and possible brief denial of service, but it does not allow further compromise or remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to pupnp release 2.0.0 or later.
  • If an upgrade is not immediately possible, restrict local network access to the UPnP service, blocking untrusted SOAP endpoints or limiting the scope to trusted devices.
  • Monitor the UPnP service for stack overflows or crashes and promptly apply any vendor patches when available.

Generated by OpenCVE AI on October 16, 2026 at 17:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Pupnp Project
Pupnp Project pupnp
CPEs cpe:2.3:a:pupnp_project:pupnp:*:*:*:*:*:*:*:*
Vendors & Products Pupnp Project
Pupnp Project pupnp
Type Values Removed Values Added
First Time appeared Pupnp
Pupnp pupnp
Vendors & Products Pupnp
Pupnp pupnp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.0, multiple ixml DOM traversal functions process deeply nested XML with unbounded recursion. The iterative XML parser accepts the document, but ixmlPrintDomTreeRecursive in ixml/src/ixml.c and ixmlNode_getElementsByTagNameRecursive, ixmlNode_getElementsByTagNameNSRecursive, ixmlNode_cloneNodeTreeRecursive, and ixmlNode_isAncestor in ixml/src/node.c recurse over firstChild and nextSibling links. An unauthenticated peer on the local network can supply deeply nested XML through a SOAP request, exhaust a service thread's stack, and crash the UPnP service. This is an incomplete-fix case for CVE-2021-28302 because its remediation converted ixmlNode_free but left these traversal paths recursive. This issue is fixed in 2.0.0.
Title pupnp: Incomplete fix for CVE-2021-28302: recursive DOM functions cause stack overflow
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 16, 2026, 7:07 PM
Reserved
Jun 17, 2026, 4:44 PM
Status
Analyzed
Published
Oct 16, 2026, 4:18 PM
Modified
Oct 23, 2026, 4:10 PM