VYPR
High severity7.4OSV Advisory· Published Jul 10, 2026· Updated Jul 14, 2026

CVE-2026-54919

CVE-2026-54919

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

3
  • cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*range: >=0.31.0,<0.47.0
    • (no CPE)range: v0.46.1, v0.46.0, v0.45.1, …
    • (no CPE)

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.