Vulnerability

CVE-2026-54919

highCVSS 3.1 7.4Published 10 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Yhirose cpp-httplib

Weakness type

References

  • github.com /yhirose/cpp-httplib/commit/fa981cedae004ea9d946f1392b9dec2…
  • github.com /yhirose/cpp-httplib/releases/tag/v0.47.0
  • github.com /yhirose/cpp-httplib/security/advisories/GHSA-8ffh-4p95-g3p2

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning