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

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-07-10T16:06:12.848Z
- Modified: 2026-10-25T15:10:00.147Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- yhirose cpp-httplib: >= 0.31.0, < 0.47.0; from 0.31.0 before 0.47.0

## References

- <https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-8ffh-4p95-g3p2> (mitigation, patch, vendor-advisory)
- <https://github.com/yhirose/cpp-httplib/commit/fa981cedae004ea9d946f1392b9dec22fac6fee6> (patch)
- <https://github.com/yhirose/cpp-httplib/releases/tag/v0.47.0> (product, release-notes)

## Sources

- CVE List: [CVE-2026-54919](https://www.cve.org/CVERecord?id=CVE-2026-54919), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-54919](https://nvd.nist.gov/vuln/detail/CVE-2026-54919), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-54919 · Whole record: https://cve.day/CVE-2026-54919.json · Rebuilt by cve.day 2026-11-25T22:59:27.647Z
