๐Ÿ” CVE Alert

CVE-2026-77341

UNKNOWN 0.0

cpp-httplib: CRLF injection via unvalidated HTTP trailer headers in chunked response writing

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-93 CWE-113
Vendor yhirose
Product cpp-httplib
Published Aug 27, 2026
Stay Ahead of the Next One

Get instant alerts for yhirose cpp-httplib

Be the first to know when new unknown vulnerabilities affecting yhirose cpp-httplib are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

yhirose / cpp-httplib
>= 0.49.0, < 0.50.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-2r2h-jc8w-w66c github.com: https://github.com/yhirose/cpp-httplib/commit/568d434e72fc51729d0ad33abffb181e5f7a453d