cpp-httplib security update
A C++11 single-file header-only cross platform HTTP/HTTPS library. It's extremely easy to setup. Just include httplib.h file in your code! Security Fix(es): cpp-httplib is a C++ header-only HTTP/HTTPS library. In version 0.49.0, the chunked-response trailer output path writes trailer header names and values directly to the socket without validating them, allowing CRLF sequences in a trailer field to inject additional headers or split the HTTP response. Unlike every other header-writing path in the library, the trailer-writing code applies none of the field-name and field-value checks that reject carriage return and line feed, so an application that places attacker-influenced data into a chunked response trailer emits attacker-controlled CRLF onto the wire. This enables HTTP response splitting, letting an attacker forge response headers or inject a second response. This issue is fixed in version 0.50.0.(CVE-2026-77341)
OESA-2026-4092
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:OESA-2026-4092
cpp-httplib
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 0.46.0-3.oe2403sp1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.46.0-3.oe2403sp1"
}
]
}
],
"package": {
"name": "cpp-httplib",
"purl": "pkg:rpm/openEuler/cpp-httplib&distro=openEuler-24.03-LTS-SP1",
"ecosystem": "openEuler:24.03-LTS-SP1"
},
"database_specific": {
"source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4092.json"
},
"ecosystem_specific": {
"src": [
"cpp-httplib-0.46.0-3.oe2403sp1.src.rpm"
],
"x86_64": [
"cpp-httplib-0.46.0-3.oe2403sp1.x86_64.rpm",
"cpp-httplib-debuginfo-0.46.0-3.oe2403sp1.x86_64.rpm",
"cpp-httplib-debugsource-0.46.0-3.oe2403sp1.x86_64.rpm",
"cpp-httplib-devel-0.46.0-3.oe2403sp1.x86_64.rpm"
],
"aarch64": [
"cpp-httplib-0.46.0-3.oe2403sp1.aarch64.rpm",
"cpp-httplib-debuginfo-0.46.0-3.oe2403sp1.aarch64.rpm",
"cpp-httplib-debugsource-0.46.0-3.oe2403sp1.aarch64.rpm",
"cpp-httplib-devel-0.46.0-3.oe2403sp1.aarch64.rpm"
]
}
}
]Publisher severity
medium
Source reference: /database_specific/severity
- Event
- #14713 · Revision 1
- Added to Heist Feed
- Publisher date