๐Ÿ” CVE Alert

CVE-2026-54919

HIGH 7.4

cpp-httplib: TLS certificate chain verification bypassed for IP-literal hosts on Mbed TLS and wolfSSL backends

CVSS Score
7.4
EPSS Score
0.3%
EPSS Percentile
18th

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.

CWE CWE-295
Vendor yhirose
Product cpp-httplib
Published Jul 10, 2026
Last Updated Jul 14, 2026
Stay Ahead of the Next One

Get instant alerts for yhirose cpp-httplib

Be the first to know when new high vulnerabilities affecting yhirose cpp-httplib are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

yhirose / cpp-httplib
>= 0.31.0, < 0.47.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-8ffh-4p95-g3p2 github.com: https://github.com/yhirose/cpp-httplib/commit/fa981cedae004ea9d946f1392b9dec22fac6fee6 github.com: https://github.com/yhirose/cpp-httplib/releases/tag/v0.47.0