Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Yhirose | Cpp-Httplib | >= 0.31.0, < 0.47.0 |
Related Weaknesses (CWE)
References
- https://github.com/yhirose/cpp-httplib/commit/fa981cedae004ea9d946f1392b9dec22faPatch
- https://github.com/yhirose/cpp-httplib/releases/tag/v0.47.0ProductRelease Notes
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-8ffh-4p95-g3p2MitigationPatchVendor Advisory
FAQ
What is CVE-2026-54919?
CVE-2026-54919 is a vulnerability with a CVSS score of 7.4 (HIGH). 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...
How severe is CVE-2026-54919?
CVE-2026-54919 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-54919?
Check the references section above for vendor advisories and patch information. Affected products include: Yhirose Cpp-Httplib.