{"id":"CVE-2026-57487","published":"2026-10-16T15:33:56Z","modified":"2026-10-21T02:21:37Z","title":"libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered","vendor":"pupnp","product":"pupnp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0041,"percentile":0.3611,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/pupnp/pupnp/security/advisories/GHSA-gcj7-j9f7-q84c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pupnp/pupnp/commit/9ff9bc583ad8ee4ba022634434a7b71db9bd96e1","tags":["x_refsource_MISC"]},{"url":"https://github.com/pupnp/pupnp/releases/tag/release-2.0.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":7.22},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"pupnp","affectedVersions":[{"vendor":"pupnp","product":"pupnp","versions":["< 2.0.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-21T02:21:26.610826Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-102929","exploited":false,"provenance":"source"}}