CVE-2026-77341
Last modified
CVE-2026-77341 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
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.
Metrics
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| yhirose | cpp-httplib | >= 0.49.0, < 0.50.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-77341?
How severe is CVE-2026-77341?
How do I fix CVE-2026-77341?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-77310jackson-databind contains the general-purpose data-binding f…5.3
- CVE-2026-77317SeaweedFS is a distributed storage system for files and blob…8.1
- CVE-2026-7732A vulnerability was detected in code-projects BloodBank Mana…6.3
- CVE-2026-7733A flaw has been found in funadmin up to 7.1.0-rc6. This affe…7.3
- CVE-2026-77337CakePHP Authentication is an authentication plugin for CakeP…9.1
- CVE-2026-7734A vulnerability has been found in osrg GoBGP up to 4.3.0. Th…7.5
- CVE-2026-7735A vulnerability was found in osrg GoBGP up to 4.3.0. Affecte…7.3
- CVE-2026-77354kin-openapi is a Go project for handling OpenAPI files. From…8.7
- CVE-2026-77357Mesop is a Python-based UI framework that allows users to bu…8.7
- CVE-2026-77358cpp-httplib is a C++ header-only HTTP/HTTPS library. In vers…8.2
- CVE-2026-7736A vulnerability was determined in osrg GoBGP up to 4.3.0. Af…7.5
- CVE-2026-77365The Optimole – Optimize Images | Convert WebP & AVIF | CDN &…7.2
Are you affected by CVE-2026-77341?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
