CVE-2026-22776
published high CVSS 4.0 · 8.7cpp-httplib vulnerable to a denial of service (DOS) using a zip bomb
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yhirose | — | cpp-httplib< 0.30.1 | 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 version 0.30.1, a Denial of Service (DoS) vulnerability exists in cpp-httplib due to the unsafe handling of compressed HTTP request bodies (Content-Encoding: gzip, br, etc.). The library validates the payload_max_length against the compressed data size received from the network, but does not limit the size of the decompressed data stored in memory.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yhirose | cpp-httplib | < 0.30.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
References
2Provider assertions
2GitHub_M · cna
cpp-httplib vulnerable to a denial of service (DOS) using a zip bomb
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2a3e385a5718f4ae92355eac2a5e5fbd8c95c26006764bf15828f65803ab5c73
- Ingested
- 23 Sep 2026, 09:05:30 UTC
- Source record
- Official CVE record