Use-after-free in PUPnP - #VU164476

 

Use-after-free in PUPnP - #VU164476

Published: November 10, 2026


Vulnerability identifier: #VU164476
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service through heap corruption and process crashes.

The vulnerability exists due to incorrect alias reference counting causing use-after-free and possible double free in PUPnP's web server when replacing an XML alias still used by a response worker. A remote attacker can request a config_baseURL device description and stall reading its response while the embedding application unregisters and registers a replacement device, causing premature release of the worker's XML and reference-count object to trigger a crash.


Affected software

PUPnP

Remediation

Install security update from vendor's website.

PUPnP - update to 22.2.2

External References