CVE-2026-57487 libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered
- 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 2.0.2, Transfer-Encoding: chunked causes the HTTP parser in upnp/src/genlib/net/http/httpparser.c to leave parser->content_length at zero while parser_parse_chunky_entity and parser_parse_chunky_body accumulate decoded bytes in parser->msg.entity. The g_maxContentLength checks in http_RecvMessage in upnp/src/genlib/net/http/httpreadwrite.c therefore reject oversized numeric Content-Length bodies but do not enforce the same limit on decoded chunked bodies. A remote peer that can reach a SOAP, GENA, miniserver, or control-point HTTP response path can make the process buffer an entity larger than the configured maximum, causing resource exhaustion and denial of service. This issue is fixed in 2.0.2.
Upgrade path
8 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/pupnp(Debian 13) | = 1:1.14.20-1; = 1:1.14.20-1+deb13u1; = 1:1.14.23-1; = 1:1.14.24-1 +10 more | No fix listed | No fix yet |
| 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 14) | < 1:22.1.8-2; = 1:1.14.20-1; = 1:1.14.23-1; = 1:1.14.24-1 +8 more | 1:22.1.8-2 | Fixed |
| pupnp project pupnp | < 2.0.2 | 2.0.2 | Fixed |
| pupnp | = < 2.0.2 | No fix listed | Versions listed |
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-gcj7-j9f7-q84c exploit vendor-advisory
- https://github.com/pupnp/pupnp/commit/9ff9bc583ad8ee4ba022634434a7b71db9bd96e1 patch
- https://github.com/pupnp/pupnp/releases/tag/release-2.0.2 release-notes
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2554167 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-57487 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking