{"id":"CVE-2026-103930","published":"2026-10-14T18:19:38Z","modified":"2026-10-15T15:06:40Z","title":"cpp-httplib open_stream serializes CRLF in request target into HTTP request line","vendor":"yhirose","product":"cpp-httplib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00443,"percentile":0.304,"provenance":"source"},"cwes":[{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"references":[{"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-vq69-f637-8fhr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/yhirose/cpp-httplib/pull/2501","tags":["x_refsource_MISC"]},{"url":"https://github.com/yhirose/cpp-httplib/commit/255c075b82cf9f221e6e607e8e6789e6e2bf4c2a","tags":["x_refsource_MISC"]},{"url":"https://github.com/yhirose/cpp-httplib/releases/tag/v0.51.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":6.08},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"yhirose","affectedVersions":[{"vendor":"yhirose","product":"cpp-httplib","versions":[">= 0.29.0, < 0.51.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T13:52:06.645728Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-101593","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-yhirose-cpp-httplib-cve-2020-11709","parents":[{"from":"CVE-2023-26130","to":"CVE-2026-103930","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["httplib.h"],"commits":["https://github.com/yhirose/cpp-httplib/commit/5b397d455d25a391ba346863830c1949627b4d08","https://github.com/yhirose/cpp-httplib/commit/255c075b82cf9f221e6e607e8e6789e6e2bf4c2a"],"basis":"shared function","functions":["write_request"]}]}]}}