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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 64.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:13pupnpno fix listedDEBIAN-CVE-2026-57487
Debian:14pupnp1:22.1.8-2DEBIAN-CVE-2026-57487
Ubuntu:24.04:LTSpupnpno fix listedUBUNTU-CVE-2026-57487
Ubuntu:26.04:LTSpupnpno fix listedUBUNTU-CVE-2026-57487
Ubuntu:26.10pupnpno fix listedUBUNTU-CVE-2026-57487
Ubuntu:22.04:LTSpupnp-1.8no fix listedUBUNTU-CVE-2026-57487

Affected products (as reported)

VendorProductVersions
pupnp pupnp < 2.0.2

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References