Skip to content

CVE-2026-41682 pupnp: Port truncation via atoi() cast in parse_uri() allows SSRF port confusion

MediumCVSS 6.9 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

pupnp is an SDK for development of UPnP device and control point applications. Prior to version 1.18.5, pupnp is vulnerable to SRRF port confusion due to port truncation via atoi() cast in parse_uri(). This issue has been patched in version 1.18.5.

Upgrade path

7 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/pupnp(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/pupnp(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/pupnp(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/pupnp-1.8(Ubuntu 22.04) All versions No fix listed No fix yet
debian/pupnp(Debian 13) < 1:1.14.20-1+deb13u1; = 1:1.14.20-1 1:1.14.20-1+deb13u1 Fixed
debian/pupnp(Debian 14) < 1:1.14.31-1; = 1:1.14.20-1; = 1:1.14.23-1; = 1:1.14.24-1 +3 more 1:1.14.31-1 Fixed
pupnp = < 1.18.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pupnp = < 1.18.5 No fix listed
debian/pupnp(Debian:13) < 1:1.14.20-1+deb13u1 1:1.14.20-1+deb13u1
debian/pupnp(Debian:13) = 1:1.14.20-1 No fix listed
debian/pupnp(Debian:14) < 1:1.14.31-1 1:1.14.31-1
debian/pupnp(Debian:14) = 1:1.14.20-1 No fix listed
debian/pupnp(Debian:14) = 1:1.14.23-1 No fix listed
debian/pupnp(Debian:14) = 1:1.14.24-1 No fix listed
debian/pupnp(Debian:14) = 1:1.14.24-2 No fix listed
debian/pupnp(Debian:14) = 1:1.14.24-3 No fix listed
debian/pupnp(Debian:14) = 1:1.14.25-1 No fix listed
ubuntu/pupnp-1.8(Ubuntu:22.04) All versions No fix listed
ubuntu/pupnp(Ubuntu:24.04) All versions No fix listed
ubuntu/pupnp(Ubuntu:26.04) All versions No fix listed
ubuntu/pupnp(Ubuntu:26.10) All versions No fix listed

References