Vulnerability · Published Oct 16, 2026 · Assigned by GitHub_M
CVE-2026-57487libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered
High 7.5
In plain English
A high-severity resource allocation without limits in pupnp from pupnp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | pupnp | no fix listed | DEBIAN-CVE-2026-57487 |
| Debian:14 | pupnp | 1:22.1.8-2 | DEBIAN-CVE-2026-57487 |
| Ubuntu:24.04:LTS | pupnp | no fix listed | UBUNTU-CVE-2026-57487 |
| Ubuntu:26.04:LTS | pupnp | no fix listed | UBUNTU-CVE-2026-57487 |
| Ubuntu:26.10 | pupnp | no fix listed | UBUNTU-CVE-2026-57487 |
| Ubuntu:22.04:LTS | pupnp-1.8 | no fix listed | UBUNTU-CVE-2026-57487 |
Affected products (as reported)
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/pupnp/pupnp/security/advisories/GHSA-gcj7-j9f7-q84c x_refsource_CONFIRM
- https://github.com/pupnp/pupnp/commit/9ff9bc583ad8ee4ba022634434a7b71db9bd96e1 x_refsource_MISC
- https://github.com/pupnp/pupnp/releases/tag/release-2.0.2 x_refsource_MISC