CVE-2026-57488 pupnp: Integer truncation in HTTP Content-Length parsing enables request smuggling
HighCVSS 7.1
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
Description
pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.2, raw_to_int in upnp/src/genlib/net/http/httpparser.c parses Content-Length with strtol and casts the resulting long to a 32-bit int before the caller stores it as unsigned int. On LP64 systems, values greater than INT_MAX can truncate or wrap, so the HTTP parser can accept a body length different from the declared value. A remote adjacent-network peer can use the resulting parser disagreement to leave bytes to be interpreted as another request in persistent or proxied contexts, or can make a worker wait for an extremely large body and cause denial of service. This issue is fixed in 2.0.2.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pupnp | = < 2.0.2 | No fix listed |
| debian/pupnp(Debian:13) | All versions | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.14.20-1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.14.20-1+deb13u1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.14.23-1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.14.24-1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.14.24-2 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.14.24-3 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.14.25-1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.14.31-1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.18.0-1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.18.4-1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:1.18.5-1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:22.1.8-1 | No fix listed |
| debian/pupnp(Debian:13) | = 1:22.1.8-2 | No fix listed |
| debian/pupnp(Debian:14) | < 1:22.1.8-2 | 1:22.1.8-2 |
| 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 |
| debian/pupnp(Debian:14) | = 1:1.14.31-1 | No fix listed |
| debian/pupnp(Debian:14) | = 1:1.18.0-1 | No fix listed |
| debian/pupnp(Debian:14) | = 1:1.18.4-1 | No fix listed |
Show 7 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pupnp(Debian:14) | = 1:1.18.5-1 | No fix listed |
| debian/pupnp(Debian:14) | = 1:22.1.8-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 |
| pupnp project pupnp | < 2.0.2 | 2.0.2 |
References
- https://github.com/pupnp/pupnp/security/advisories/GHSA-g6c2-x4r9-352g exploit mitigation vendor-advisory
- https://github.com/pupnp/pupnp/commit/de9602aef34ff722f3630d66c9be8eaa0aa9f012 patch
- https://github.com/pupnp/pupnp/releases/tag/release-2.0.2 release-notes
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2554175 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-57488 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking