Skip to content
Heist/ feed
Low

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-103930

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-103930

cpp-httplib

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "yhirose",
    "product": "cpp-httplib",
    "versions": [
      {
        "status": "affected",
        "version": ">= 0.29.0, < 0.51.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-103930

Source reference: /cveMetadata/cveId

Publisher severity

low

Source reference: /containers/cna/metrics

Event
#28879 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement