{"id":"CVE-2026-57487","aliases":["CVE-2026-57487"],"related":[],"kind":"vulnerability","state":"published","title":"libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-16T15:33:56.394Z","modified":"2026-10-23T16:07:21.000Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 2.0.2","status":"affected"}],"vendor":"pupnp","product":"pupnp","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.0.2"}],"vendor":"pupnp_project","product":"pupnp","cpe":"cpe:2.3:a:pupnp_project:pupnp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pupnp/pupnp/security/advisories/GHSA-gcj7-j9f7-q84c","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pupnp/pupnp/commit/9ff9bc583ad8ee4ba022634434a7b71db9bd96e1","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pupnp/pupnp/releases/tag/release-2.0.2","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-21T02:21:26.610Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57487","url":"https://www.cve.org/CVERecord?id=CVE-2026-57487","licence":"CVE Terms of Use","modified":"2026-10-21T02:21:37.115Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57487","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57487","licence":"Public domain","modified":"2026-10-23T16:07:21.000Z"}],"updatedAt":"2026-11-25T22:59:45.064Z","epss":{"score":0.0041,"percentile":0.37296,"date":"2026-12-01T12:00:22.000Z"}}