{"schema":"threatline.record/2","record":{"id":"CVE-2026-57487","aliases":["GHSA-gcj7-j9f7-q84c"],"summary":"libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered","details":"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.","categories":["Unclassified"],"product":"pupnp","vendor":"pupnp","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-57487","source_modified_at":"2026-10-21T02:21:37.115Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"pupnp","vendor":"pupnp","versions":[{"version":"< 2.0.2","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00339,"percentile":0.26115,"score_date":"2026-10-23"},"published_at":"2026-10-16T15:33:56.394Z","modified_at":"2026-10-21T02:21:37.115Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-57487","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-21T02:21:37.115Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-57487","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/pupnp/pupnp/security/advisories/GHSA-gcj7-j9f7-q84c","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/pupnp/pupnp/commit/9ff9bc583ad8ee4ba022634434a7b71db9bd96e1","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/pupnp/pupnp/releases/tag/release-2.0.2","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","assessed_at":"2026-10-21T02:21:26.610826Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-21T02:21:37.115Z","content_hash":"31df05839160840fd69e05ff5b6de291d588f79f70a052ca559018903d932ce9"}}
