CVE-2026-57487libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered
Updated under an hour ago ()
Does this affect you?
It affects pupnp and 1 other product. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.36%, higher than 28% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-770
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.36% (percentile 28)
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Oct 20, 2026
- First seen by InfoSec Signals
- Oct 16, 2026
Affected products
pupnp pupnp pupnp:pupnp (from the name) | before 2.0.2 | CNA record |
pupnp_project pupnp pupnp_project:pupnp | before 2.0.2 | NVD |
References
- https://github.com/pupnp/pupnp/security/advisories/GHSA-gcj7-j9f7-q84cx-refsource-confirm, exploit, vendor-advisory
- https://github.com/pupnp/pupnp/commit/9ff9bc583ad8ee4ba022634434a7b71db9bd96e1x-refsource-misc, patch
- https://github.com/pupnp/pupnp/releases/tag/release-2.0.2x-refsource-misc, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.