Back to overview

CVE-2026-54919

HIGH
7.4
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-54919
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-06-16 13:49 UTC
Published
2026-07-10 16:06 UTC
Last updated
2026-07-10 16:52 UTC
Primary CWE
CWE-295
CWE-295: Improper Certificate Validation
Vendor / Product
yhirose / cpp-httplib
Sources
cve.org  ·  NVD

Severity & Metrics

7.4 HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
SSVC — CISA Coordinator
Exploitation
none
Automatable
no
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
yhirose cpp-httplib >= 0.31.0, < 0.47.0
Weakness (CWE)
CWESourceDescription
CWE-295 cna CWE-295: Improper Certificate Validation
CVSS scores (1)
ScoreSeverityVersionSourceVector
7.4 HIGH 3.1 cna CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
References (3)
Back to overview