{"id":"CVE-2026-57486","summary":"pupnp: NULL pointer dereference in ixmlNode_compare crashes on non-namespaced attributes","details":"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.","aliases":["GHSA-q54q-vx78-v9rq"],"modified":"2026-10-28T10:55:36.022875967Z","published":"2026-10-16T15:32:57.234Z","database_specific":{"cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57486.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/pupnp/pupnp/releases/tag/release-2.0.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57486.json"},{"type":"ADVISORY","url":"https://github.com/pupnp/pupnp/security/advisories/GHSA-q54q-vx78-v9rq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57486"},{"type":"FIX","url":"https://github.com/pupnp/pupnp/commit/4b2f775e3b98de3cfb096707bcde040c5562d9ec"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pupnp/pupnp","events":[{"introduced":"0"},{"fixed":"280cff736ee0a2384d8a67011382e6fe76a51167"},{"fixed":"4b2f775e3b98de3cfb096707bcde040c5562d9ec"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:pupnp_project:pupnp:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"2.0.2"}]},{"range":[{"fixed":"4b2f775e3b98de3cfb096707bcde040c5562d9ec"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"280cff736ee0a2384d8a67011382e6fe76a51167"}],"source":"REFERENCES_TAG","original_tag":"release-2.0.2"}]}}],"versions":["release-2.0.1","release-2.0.0","release-1.18.5","release-1.14.30","release-1.18.4","release-1.18.3","release-1.18.2","release-1.18.1","release-1.18.0","release-1.14.29","release-1.14.28","release-1.14.27","release-1.14.26","release-1.14.25","release-1.14.24","release-1.14.23","release-1.14.22","release-1.14.21","release-1.14.20","release-1.14.19","release-1.14.18","release-1.14.17","release-1.14.16","release-1.14.15","release-1.14.14","release-1.14.13","release-1.14.12","release-1.14.11","release-1.14.10","release-1.14.9","release-1.14.8","release-1.14.7","release-1.14.6","release-1.14.5","release-1.14.4","release-1.14.3","release-1.14.2","release-1.14.1","release-1.14.0","release-1.12.0","release-1.10.1","release-1.10.0","release-1.8.4","release-1.8.3","release-1.8.2","release-1.8.1","release-1.8.0","last_svn_trunk"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57486.json","vanir_signatures":[{"id":"CVE-2026-57486-69243614","signature_type":"Function","signature_version":"v1","source":"https://github.com/pupnp/pupnp/commit/280cff736ee0a2384d8a67011382e6fe76a51167","target":{"file":"ixml/test/poc_ghsa_q54q.c","function":"main"},"deprecated":false,"digest":{"function_hash":"52107601416279361396342264133200996176","length":476}},{"signature_version":"v1","source":"https://github.com/pupnp/pupnp/commit/4b2f775e3b98de3cfb096707bcde040c5562d9ec","target":{"file":"ixml/src/node.c"},"deprecated":false,"digest":{"line_hashes":["238009227797327810737162318180826238343","309483827188200267408068710828998183333","176805413963287683348269735186056966420","100127587991632028945214790579105712801","64385322315670716323369746477785759072","15001707584867917712310745286966222587","237725865322167043126336366116465304385","188069124083503172605679983600598774876","47920842190316463925451795831456409821","328767621200307008156811361712837691542","51078583804652622609459805037713791725"],"threshold":0.9},"id":"CVE-2026-57486-e25a252c","signature_type":"Line"},{"id":"CVE-2026-57486-faedecba","signature_type":"Line","signature_version":"v1","source":"https://github.com/pupnp/pupnp/commit/280cff736ee0a2384d8a67011382e6fe76a51167","target":{"file":"ixml/test/poc_ghsa_q54q.c"},"deprecated":false,"digest":{"line_hashes":["334027813865936129438216410789017650661","54295986294101972822852762588617473092","55486358970535260111721862803837298368","479395375871184399048480116120362544"],"threshold":0.9}}],"vanir_signatures_modified":"2026-10-28T10:55:36Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}