CVE-2026-41682

pupnp: Port truncation via atoi() cast in parse_uri() allows SSRF port confusion

State
Published
Severity
6.9 Medium
Published
May 8, 2026
Updated
May 11, 2026
Reserved
Apr 22, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-195 Signed to Unsigned Conversion Error
  • CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

ProductVersions
pupnppupnp
  • < 1.18.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.