CVE-2026-103930cpp-httplib open_stream serializes CRLF in request target into HTTP request line
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | cpp-httplib | Fix pending | UBUNTU-CVE-2026-103930 | |
| Ubuntu 26.04 | cpp-httplib | Fix pending | UBUNTU-CVE-2026-103930 | |
| Ubuntu 24.04 | cpp-httplib | Fix pending | UBUNTU-CVE-2026-103930 | |
| Ubuntu 22.04 | cpp-httplib | Fix pending | UBUNTU-CVE-2026-103930 | |
| Debian 14 | cpp-httplib | Fix pending | DEBIAN-CVE-2026-103930 | |
| Debian 13 | cpp-httplib | Fix pending | DEBIAN-CVE-2026-103930 | |
| Debian 12 | cpp-httplib | Fix pending | DEBIAN-CVE-2026-103930 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- yhirose cpp-httplib: affected: >= 0.29.0, < 0.51.0
References
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-vq69-f637-8fhr
- https://github.com/yhirose/cpp-httplib/pull/2501
- https://github.com/yhirose/cpp-httplib/commit/255c075b82cf9f221e6e607e8e6789e6e2bf4c2a
- https://github.com/yhirose/cpp-httplib/releases/tag/v0.51.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.