Bug 2525311 (CVE-2026-77341) - CVE-2026-77341 cpp-httplib: cpp-httplib: HTTP response splitting via unvalidated trailer headers
Summary: CVE-2026-77341 cpp-httplib: cpp-httplib: HTTP response splitting via unvalida...
Keywords:
Status: NEW
Alias: CVE-2026-77341
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2526707 2526708
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-27 23:33 UTC by OSIDB Bzimport
Modified: 2026-09-01 08:47 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-27 23:33:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.