{"id":"CVE-2026-28435","published":"2026-03-04T19:36:33Z","modified":"2026-03-04T20:39:46Z","title":"Payload size limit bypass via gzip decompression in ContentReader (streaming) allows oversized request bodies in…","vendor":"yhirose","product":"cpp-httplib","tier":"tail","description":{"text":"cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.35.0, cpp-httplib (httplib.h) does not enforce Server::set_payload_max_length() on the decompressed request body when using HandlerWithContentReader (streaming ContentReader) with Content-Encoding: gzip (or other supported encodings). A small compressed payload can expand beyond the configured payload limit and be processed by the application, enabling a payload size limit bypass and potential denial of service (CPU/memory exhaustion). This vulnerability is fixed in 0.35.0.","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.00476,"percentile":0.42021,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xvfx-w463-6fpp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/yhirose/cpp-httplib/commit/c99d7472b5cf4869d3897b9afc9792063a3d15a8","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.4},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"yhirose","affectedVersions":[{"vendor":"yhirose","product":"cpp-httplib","versions":["< 0.35.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-04T20:37:10.788317Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-9496","exploited":false,"provenance":"source"}}