# CVE-2026-57486: pupnp: NULL pointer dereference in ixmlNode_compare crashes on non-namespaced attributes

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-16T15:32:57.234Z
- Modified: 2026-10-23T16:07:55.893Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pupnp pupnp: < 2.0.2
- pupnp_project pupnp: before 2.0.2

## References

- <https://github.com/pupnp/pupnp/security/advisories/GHSA-q54q-vx78-v9rq> (exploit, mitigation, vendor-advisory)
- <https://github.com/pupnp/pupnp/commit/4b2f775e3b98de3cfb096707bcde040c5562d9ec> (patch)
- <https://github.com/pupnp/pupnp/releases/tag/release-2.0.2> (release-notes)

## Sources

- CVE List: [CVE-2026-57486](https://www.cve.org/CVERecord?id=CVE-2026-57486), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-57486](https://nvd.nist.gov/vuln/detail/CVE-2026-57486), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-57486 · Whole record: https://cve.day/CVE-2026-57486.json · Rebuilt by cve.day 2026-11-25T22:59:45.063Z
