Signed to Unsigned Conversion Error in PUPnP - CVE-2026-41682

 

Signed to Unsigned Conversion Error in PUPnP - CVE-2026-41682

Published: April 23, 2026


Vulnerability identifier: #VU126928
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-41682
CWE-ID: CWE-195
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to redirect client connections to unintended ports.

The vulnerability exists due to signed to unsigned conversion error in parse_uri() when parsing port values in URIs from device descriptions or LOCATION headers. A remote attacker can supply a specially crafted out-of-range port value to redirect client connections to unintended ports.

The issue is reachable through a rogue UPnP device, SSDP spoofing, or a man-in-the-middle response.


Affected software

PUPnP

How to mitigate CVE-2026-41682

Install security update from vendor's website.

PUPnP - addressed in versions 1.14.31, 1.18.5

External References

Related Security Bulletins