Approved changes feed: RSS · Atom

cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorYhirose (80444842-24c4-5fa9-9b94-e7342ff2f68c)
ProductCpp Httplib (eb3684fe-4731-51ee-974d-69a54204ceea)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/cpp-httplib purl2cpe 2026-06-01 10:16:07.354199
pkg:deb/ubuntu/cpp-httplib purl2cpe 2026-06-01 10:16:07.354201
pkg:github/yhirose/cpp-httplib purl2cpe 2026-06-01 10:16:07.354203
pkg:rpm/fedora/cpp-httplib purl2cpe 2026-06-01 10:16:07.354204
pkg:rpm/opebsuse/cpp-httplib purl2cpe 2026-06-01 10:16:07.354206
pkg:sourceforge/cpp-httplib.mirror purl2cpe 2026-06-01 10:16:07.354207

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-103930 vulnerable 2026-11-03 10:15:49.179546 cpp-httplib open_stream serializes CRLF in request target into HTTP request line
LOW (3.7)
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.
Published: 2026-10-14T18:19:38.256Z
Updated: 2026-10-15T15:06:40.241Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-102944 vulnerable 2026-11-03 10:15:44.697257 cpp-httplib: Cookie header leaked on cross-origin redirect
HIGH (7.5)
cpp-httplib is a C++ header-only HTTP/HTTPS library. Prior to 0.51.0, create_redirect_client() removes Host, Proxy-Authorization, and Authorization headers when following a cross-origin 301, 302, 307, or 308 redirect but leaves Cookie headers attached. detail::redirect() copies the request for those redirect codes, so cookies supplied directly or through default_headers_ are sent to the redirect target. An attacker who controls a redirect response, or a network position for a non-HTTPS origin, can receive session cookies intended for the original origin. A 303 redirect is not affected because that path clears all request headers. This issue is fixed in version 0.51.0.
Published: 2026-10-14T18:18:21.598Z
Updated: 2026-10-15T14:48:03.087Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-54919 vulnerable 2026-07-29 01:00:28.110878 cpp-httplib: TLS certificate chain verification bypassed for IP-literal hosts on Mbed TLS and wolfSSL backends
HIGH (7.4)
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In affected Mbed TLS backend versions from 0.31.0 through 0.46.1 and wolfSSL backend versions from 0.33.0 through 0.46.1, when cpp-httplib is built with CPPHTTPLIB_MBEDTLS_SUPPORT or CPPHTTPLIB_WOLFSSL_SUPPORT and a client connects to an IP-literal host with server certificate verification enabled, SSLClient and Client in HTTPS mode skip certificate chain validation and WebSocketClient on the Mbed TLS backend skips verification altogether, allowing a man-in-the-middle attacker positioned to intercept traffic to present a crafted certificate and read or modify the traffic. This issue is fixed in version 0.47.0.
Published: 2026-07-10T16:06:12.848Z
Updated: 2026-07-14T03:55:43.419Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46527 vulnerable 2026-06-08 08:05:12.096233 cpp-httplib: Malicious `X-Forwarded-For` Under Trusted-Proxy Configuration Triggers Empty `vector::front()`, Leading to Undefined Behavior and Server Crash
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, When the server has called Server::set_trusted_proxies() with a non-empty trusted-proxy list, an attacker can send an HTTP request that includes an X-Forwarded-For header whose value parses to no valid IP segments. The code path then executes get_client_ip(), which calls front() on an empty std::vector—undefined behavior in C++. On typical implementations this manifests as abnormal process termination (denial of service). With Sanitizers enabled, you get an explicit runtime diagnostic. This vulnerability is fixed in 0.44.0.
Published: 2026-05-29T19:18:26.615Z
Updated: 2026-06-01T13:52:30.508Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-45372 vulnerable 2026-06-08 08:05:11.719786 cpp-httplib: HTTP header value percent-decoding in server-side `parse_header` enables CRLF injection
CRITICAL (9.9)
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header value except Location and Referer. The validity check (is_field_value) is run before decoding, so encoded %0D%0A passes the check and is then expanded to a literal \r\n byte pair inside the stored header value. This vulnerability is fixed in 0.44.0.
Published: 2026-05-29T19:21:12.313Z
Updated: 2026-06-01T17:57:44.116Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-45352 vulnerable 2026-06-08 08:05:11.712465 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-34441 vulnerable 2026-06-08 07:59:12.504089 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-33745 vulnerable 2026-06-08 07:59:10.687705 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-32627 vulnerable 2026-06-08 07:57:17.770537 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-31870 vulnerable 2026-06-08 07:57:16.021763 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-29076 vulnerable 2026-06-08 07:55:16.087325 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-28435 vulnerable 2026-06-08 07:55:15.306059 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-28434 vulnerable 2026-06-08 07:55:15.305717 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-22776 vulnerable 2026-06-08 07:51:13.808011 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-21428 vulnerable 2026-06-08 07:49:16.375382 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-66577 vulnerable 2026-06-08 07:41:19.235067 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-66570 vulnerable 2026-06-08 07:41:19.218489 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-53629 vulnerable 2026-06-08 07:31:14.829614 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-53628 vulnerable 2026-06-08 07:31:14.829345 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-52887 vulnerable 2026-06-08 07:31:13.142865 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-46728 vulnerable 2026-06-08 07:27:08.708795 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-0825 vulnerable 2026-06-08 07:02:25.649955 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-26130 vulnerable 2026-06-08 05:57:38.679302 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-11709 vulnerable 2026-06-08 05:16:47.652568 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.