CVE-2026-57486

pupnp: NULL pointer dereference in ixmlNode_compare crashes on non-namespaced attributes

Published Oct 16, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.2, ixmlNode_compare in ixml/src/node.c passes the nullable nodeValue, namespaceURI, prefix, and localName fields directly to strcmp. Non-namespaced attributes created by ixmlDocument_createAttribute legitimately leave those fields NULL. When ixmlElement_removeAttributeNode compares two distinct attribute objects with the same nodeName through find_condition_node, the pointer-identity shortcut does not apply and the comparison dereferences NULL, causing a process crash when application handling of attacker-controlled XML reaches this path. This issue is fixed in 2.0.2.

Analysis

AI-generated

Technical impact

A null pointer dereference arises in ixmlNode_compare of the pupnp SDK when an attribute lacking a namespace is removed, because the function calls strcmp on pointer fields that are legitimately NULL. The crash terminates the application handling the XML, producing an immediate denial of service. No data exfiltration or code execution occurs, but the application’s availability is disrupted.

Affected Systems

The vulnerability affects the pupnp SDK, specifically all releases prior to version 2.0.2. Any application built with the older SDK that parses or manipulates UPnP XML may experience a crash when encountering non‑namespaced attributes created by an attacker or malformed input.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, but the EPSS score is not available and the issue is not listed in CISA’s KEV catalog. The attack vector is inferred to be remote: an attacker can supply malicious XML over the network to a UPnP‑enabled application, triggering the crash through attribute removal. While no public exploit has been reported, the high impact makes immediate remediation prudent.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the pupnp library to release 2.0.2 or later to obtain the fixed comparison logic.
  • If an upgrade cannot be applied immediately, block or limit incoming UPnP XML from untrusted sources to prevent the malicious attribute handling path from executing.
  • In custom code that creates or removes XML attributes, add explicit null checks before calling string comparison functions to avoid dereferencing NULL pointers.

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': 'yes', '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.2, ixmlNode_compare in ixml/src/node.c passes the nullable nodeValue, namespaceURI, prefix, and localName fields directly to strcmp. Non-namespaced attributes created by ixmlDocument_createAttribute legitimately leave those fields NULL. When ixmlElement_removeAttributeNode compares two distinct attribute objects with the same nodeName through find_condition_node, the pointer-identity shortcut does not apply and the comparison dereferences NULL, causing a process crash when application handling of attacker-controlled XML reaches this path. This issue is fixed in 2.0.2.
Title pupnp: NULL pointer dereference in ixmlNode_compare crashes on non-namespaced attributes
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/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, 3:56 PM
Reserved
Jun 24, 2026, 2:53 PM
Status
Analyzed
Published
Oct 16, 2026, 4:18 PM
Modified
Oct 23, 2026, 4:07 PM