# CVE-2026-28435: Payload size limit bypass via gzip decompression in ContentReader (streaming) allows oversized request bodies in cpp-httplib

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 51% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-04T19:36:33.418Z
- Modified: 2026-06-17T10:28:38.460Z
- Weaknesses: CWE-400, CWE-409
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- yhirose cpp-httplib: < 0.35.0; before 0.35.0

## References

- <https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xvfx-w463-6fpp> (exploit, mitigation, vendor-advisory)
- <https://github.com/yhirose/cpp-httplib/commit/c99d7472b5cf4869d3897b9afc9792063a3d15a8> (patch)

## Sources

- CVE List: [CVE-2026-28435](https://www.cve.org/CVERecord?id=CVE-2026-28435), CVE Terms of Use, modified 2026-03-04
- NVD: [CVE-2026-28435](https://nvd.nist.gov/vuln/detail/CVE-2026-28435), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-28435 · Whole record: https://cve.day/CVE-2026-28435.json · Rebuilt by cve.day 2026-11-25T22:59:15.223Z
