CVE-2026-77341CWE-113CWE-93

CVE-2026-77341

published August 28, 2026

CVSS
5.3
EPSS
0%
Percentile
19.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
5.3 · NONE
CVSS v4.0
5.3 · 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
EPSS
0.00272 · 19.3th percentile
Weaknesses
CWE-113 · Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting'); CWE-93 · Improper Neutralization of CRLF Sequences ('CRLF Injection')
Published
2026-08-28T04:18Z
References (3)
EPSS history
Timeline
  • 27 AUG 22:16Z
    cpp-httplib: CRLF injection via unvalidated HTTP trailer headers in chunked response writing
    cvelistv5