Skip to content

CVE-2026-57487 libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered

HighCVSS 7.5 EPSS 0.41%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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
ProductAffected versionsFixed 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