---
id: CVE-2026-57486
title: >-
  pupnp: NULL pointer dereference in ixmlNode_compare crashes on non-namespaced
  attributes
summary: >-
  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-namespac…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-476
vendor: pupnp
product: pupnp
affected:
  - pupnp < 2.0.2
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-16T15:56:13.970808Z'
exploitAvailable: true
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:56:47.362Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-57486'
references:
  - url: 'https://github.com/pupnp/pupnp/security/advisories/GHSA-q54q-vx78-v9rq'
    label: 'https://github.com/pupnp/pupnp/security/advisories/GHSA-q54q-vx78-v9rq'
  - url: >-
      https://github.com/pupnp/pupnp/commit/4b2f775e3b98de3cfb096707bcde040c5562d9ec
    label: >-
      https://github.com/pupnp/pupnp/commit/4b2f775e3b98de3cfb096707bcde040c5562d9ec
  - url: 'https://github.com/pupnp/pupnp/releases/tag/release-2.0.2'
    label: 'https://github.com/pupnp/pupnp/releases/tag/release-2.0.2'
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-10-16T17:24:46.881Z'
---

## Overview

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

- `pupnp < 2.0.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
