CVE-2026-28435
published high CVSS 3.1 · 7.5Payload size limit bypass via gzip decompression in ContentReader (streaming) allows oversized request bodies in cpp-httplib
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yhirose | — | cpp-httplib< 0.35.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22aarch64 | Advisory build | 0.22.0-160000.5.1 | SUSE-SU-2026:21599-1 |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22ppc64le | Advisory build | 0.22.0-160000.5.1 | SUSE-SU-2026:21599-1 |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22s390x | Advisory build | 0.22.0-160000.5.1 | SUSE-SU-2026:21599-1 |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22x86_64 | Advisory build | 0.22.0-160000.5.1 | SUSE-SU-2026:21599-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-develaarch64 | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-develppc64le | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-devels390x | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-develx86_64 | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22aarch64 | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22ppc64le | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22s390x | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22x86_64 | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develaarch64 | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develppc64le | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-devels390x | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develx86_64 | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_38aarch64 | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_38ppc64le | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_38s390x | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_38x86_64 | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yhirose | cpp-httplib | < 0.35.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
References
2Provider assertions
2GitHub_M · cna
Payload size limit bypass via gzip decompression in ContentReader (streaming) allows oversized request bodies in cpp-httplib
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4ef37273d75bf295158ea7a5b9d89dc28073d08ea57900c59f3008e28c6b8571
- Ingested
- 23 Sep 2026, 09:08:14 UTC
- Source record
- Official CVE record