CVE-2026-57486 PUBLISHED

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

Assigner: GitHub_M
Reserved: 24.06.2026 Published: 16.10.2026 Updated: 16.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor pupnp
Product pupnp
Versions
  • Version < 2.0.2 is affected

References

Problem Types

  • CWE-476: NULL Pointer Dereference CWE