What’s Vulnerable › Vulnerabilities
CVE-2026-57486: pupnp: NULL pointer dereference in ixmlNode_compare crashes on non-namespaced attributes
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-10-16 · updated 2026-10-23
- Weakness: CWE-476
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.
Affected products
- pupnp: before 2.0.2 — fixed in 2.0.2
How to fix
Upgrade to a fixed version: pupnp 2.0.2. Check the vendor advisory for mitigations.
References
- https://github.com/pupnp/pupnp/commit/4b2f775e3b98de3cfb096707bcde040c5562d9ec
- https://github.com/pupnp/pupnp/releases/tag/release-2.0.2
- https://github.com/pupnp/pupnp/security/advisories/GHSA-q54q-vx78-v9rq
- https://github.com/pupnp/pupnp/security/advisories/GHSA-q54q-vx78-v9rq
Get alerted when CVE-2026-57486 or the next vulnerability affects your stack