CVE-2026-41682 Details
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.
A port confusion vulnerability allowing Server-Side Request Forgery (SSRF) via port redirection has been identified in pupnp versions prior to 1.18.5. The issue arises from improper port validation in the 'parse_uri()' function, where the 'atoi()' function truncates out-of-range port values. This flaw can be exploited by a rogue UPnP device to redirect connections to arbitrary internal ports, potentially bypassing port-based access controls and allowing service fingerprinting.
Users should upgrade to pupnp version 1.18.5, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 8, 2026CISA-ADP
Assessed May 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pupnp/pupnp/commit/def5f9a2bc42f5b3d713e37c516fbe840ce54b7b | [email protected] | Source CodeVendor |
| https://github.com/pupnp/pupnp/releases/tag/release-1.18.5 | [email protected] | Release NotesVendor |
| https://github.com/pupnp/pupnp/security/advisories/GHSA-q522-6w45-4j58 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-195 | Signed to Unsigned Conversion Error | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pupnp | <= 1.18.5 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | New CVE Received | [email protected] |
Volerion