CVE-2026-103930

published 14 Oct 2026 · updated 15 Oct 2026

cpp-httplib open_stream serializes CRLF in request target into HTTP request line

3.7LowCVSS 3.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

cpp-httplib is a C++ header-only HTTP/HTTPS library. From 0.29.0 until 0.51.0, Client::open_stream in httplib.h accepts a caller-controlled path that reaches detail::write_request_line() without the detail::encode_path() protection used by the ordinary buffered request path. Raw carriage-return and line-feed bytes in the path can therefore split the outbound HTTP/1.1 request line and inject attacker-shaped request metadata. Exploitation requires an embedding application to pass remote user input into the open_stream path and a backend or intermediary that interprets the injected bytes; the established impact is modification of backend-visible request data, not direct confidentiality or availability impact. This issue is fixed in version 0.51.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
yhirose>=0.29.0 <0.51.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-103930 severity on Zeptric[![CVE-2026-103930](https://zeptric.io/badge/cve/CVE-2026-103930.svg)](https://zeptric.io/cve/CVE-2026-103930)