CVE-2026-77341yhirose cpp-httplib
Medium 5.3 No auth needed
Follow: this CVE · yhirose · yhirose cpp-httplib We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 4.0
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Aug 28, 2026
- Updated
- Sep 9, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for cpp-httplib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- yhirose · cpp-httplib
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- ccache-4.14.1-1.1 on GA media · SUSE · openSUSE-SU-2026:11979-1 · Oct 4, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.