pupnp: NULL pointer dereference in ixmlNode_compare, non-namespaced attributes
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-476.
Summary
pupnp, an SDK for UPnP device and control point applications, is affected before 2.0.2. The ixmlNode_compare function passes nullable fields directly to strcmp, so comparing two distinct non-namespaced attributes with the same name dereferences a NULL pointer (CWE-476). A remote unauthenticated attacker can crash the process when the application handling attacker-controlled XML reaches the ixmlElement_removeAttributeNode path. A public proof-of-concept exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade pupnp to version 2.0.2, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
- Fix · CNA pupnp (pupnp) Fixed in 2.0.2
Vendor assessments
Timeline
- 2026-10-16 Threatist record created from CVE-2026-57486
- 2026-11-04 Affected versions changed · Red Hat
- 2026-11-04 CVSS score added · Red Hat
References
More Pupnp vulnerabilities
- TI-2026-75354 pupnp Content-Length integer truncation enables request smuggling CVSS 3.1HIGH 7.1
- TI-2026-75349 Uncontrolled recursion in pupnp DOM functions causes stack overflow CVSS 3.1MEDIUM 6.5
- TI-2021-10175 DNS rebinding in pupnp CVSS 3.1CRITICAL 9.8
- TI-2026-75358 Blocking DNS lookups in pupnp allow denial of service CVSS 3.1HIGH 7.5
- TI-2026-75353 Chunked HTTP bodies in libupnp bypass the size limit CVSS 3.1HIGH 7.5
- TI-2021-09467 A stack overflow in pupnp before version 1.14.5 can cause the denial of service through… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-57486 · CVE Program
- CVE-2026-57486 · NVD
- FIRST EPSS
- CVE-2026-57486 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences