CVE catalog

CVE-2026-103930

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 d

[CVE catalog]

Severity
Low · CVSS 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.37% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancpp-httplibsid0.41.0+ds-3vulnerable
Debiancpp-httplibforky0.41.0+ds-3vulnerable
Debiancpp-httplibtrixie0.18.7-1+deb13u1vulnerable
Debiancpp-httplibtrixie-security0.18.7-1+deb13u1vulnerable
Debiancpp-httplibbookworm0.11.4+ds-1+deb12u1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancpp-httplibsourcesid(unfixed)not yet assignedNot reported[1151203]
Debiancpp-httplibsourceforky(unfixed)not yet assignedNot reported[1151203]
Debiancpp-httplibsourcetrixie(unfixed)not yet assignedNot reported[1151203]
Debiancpp-httplibsourcebookworm(unfixed)not yet assignedNot reported[1151203]

[Debian bug #1151203]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [cpp-httplib]

    Details (2)
    • 0.11.4+ds-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

    • 0.11.4+ds-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

  • Source package: [cpp-httplib]

    Details (2)
    • 0.11.4+ds-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

    • 0.11.4+ds-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

[Debian 13 (Trixie)]

  • Source package: [cpp-httplib]

    Details (4)
    • 0.18.7-1+deb13u1 · amd64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

  • Source package: [cpp-httplib]

    Details (2)
    • 0.41.0+ds-3~bpo13+1 · amd64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · arm64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

  • Source package: [cpp-httplib]

    Details (6)
    • 0.18.7-1+deb13u1 · amd64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · amd64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · arm64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

Observed:

References