CVE-2026-21428
published high CVSS 4.0 · 7.7cpp-httplib has CRLF injection in http headers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yhirose | — | cpp-httplib< 0.30.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 version 0.30.0, the ``write_headers`` function does not check for CR & LF characters in user supplied headers, allowing untrusted header value to escape header lines. This vulnerability allows attackers to add extra headers, modify request body unexpectedly & trigger an SSRF attack. When combined with a server that supports http1.1 pipelining (springboot, python twisted etc), this can be used for server side request forgery (SSRF). Version 0.30.0 fixes this issue.
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
- 7.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:H/VA:N/SC:N/SI:N/SA:N/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yhirose | cpp-httplib | < 0.30.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
3Provider assertions
2GitHub_M · cna
cpp-httplib has CRLF injection in http headers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 304bbf137a46eb785a9b4f86ed52c84fa2993bf0066adfb4d394146e6c896e0c
- Ingested
- 23 Sep 2026, 09:04:58 UTC
- Source record
- Official CVE record