{"id":"UBUNTU-CVE-2026-103930","details":"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.","modified":"2026-10-17T12:57:59.857235101Z","published":"2026-10-15T00:00:00Z","upstream":["CVE-2026-103930"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-103930"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-103930"},{"type":"REPORT","url":"https://github.com/yhirose/cpp-httplib/commit/255c075b82cf9f221e6e607e8e6789e6e2bf4c2a"},{"type":"REPORT","url":"https://github.com/yhirose/cpp-httplib/pull/2501"},{"type":"REPORT","url":"https://github.com/yhirose/cpp-httplib/releases/tag/v0.51.0"},{"type":"REPORT","url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-vq69-f637-8fhr"}],"affected":[{"package":{"name":"cpp-httplib","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.9+ds-1","0.9.10+ds-1","0.10.1+ds-1","0.10.2+ds-1","0.10.3+ds-1","0.10.3+ds-1ubuntu0.1~esm1","0.10.3+ds-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10.3+ds-1ubuntu0.1~esm2","binary_name":"libcpp-httplib0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103930.json"}},{"package":{"name":"cpp-httplib","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.1+ds-1ubuntu1","0.14.3+ds-1","0.14.3+ds-1.1","0.14.3+ds-1.1build1","0.14.3+ds-1.1build2","0.14.3+ds-1.1ubuntu0.1~esm1","0.14.3+ds-1.1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcpp-httplib0.14t64","binary_version":"0.14.3+ds-1.1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103930.json"}},{"package":{"name":"cpp-httplib","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/cpp-httplib?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.26.0+ds-2ubuntu3","0.26.0+ds-2ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"libcpp-httplib0.26","binary_version":"0.26.0+ds-2ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103930.json"}},{"package":{"name":"cpp-httplib","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/cpp-httplib?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.7-1","0.26.0+ds-2ubuntu2","0.26.0+ds-2ubuntu3","0.26.0+ds-2ubuntu3+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcpp-httplib0.26","binary_version":"0.26.0+ds-2ubuntu3+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103930.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}