UBUNTU-CVE-2026-54919
cpp-httplib versions built with Mbed TLS or wolfSSL backend support from 0.31.0 through 0.46.1 improperly skip SSL certificate chain validation when connecting to IP-literal hosts with server certificate verification enabled. This affects SSLClient and Client in HTTPS mode and WebSocketClient on the Mbed TLS backend, allowing a man-in-the-middle attacker to present a crafted certificate and intercept or modify traffic. The issue is fixed in version 0.47.0.
AI Analysis
Technical Summary
cpp-httplib is a C++11 header-only HTTP/HTTPS library. In affected versions of its Mbed TLS backend (0.31.0 through 0.46.1) and wolfSSL backend (0.33.0 through 0.46.1), when built with CPPHTTPLIB_MBEDTLS_SUPPORT or CPPHTTPLIB_WOLFSSL_SUPPORT, SSLClient and Client in HTTPS mode skip certificate chain validation if connecting to an IP-literal host with server certificate verification enabled. Additionally, WebSocketClient on the Mbed TLS backend skips verification entirely. This allows a man-in-the-middle attacker positioned to intercept traffic to present a crafted certificate and read or modify the traffic. The vulnerability is resolved in version 0.47.0.
Potential Impact
The vulnerability allows a man-in-the-middle attacker to bypass SSL certificate chain validation when connecting to IP-literal hosts, enabling interception and modification of supposedly secure HTTPS and WebSocket communications. This compromises confidentiality and integrity of the affected connections.
Mitigation Recommendations
A fix is available in cpp-httplib version 0.47.0. Users should upgrade to version 0.47.0 or later to resolve this issue. No other mitigations are specified.
UBUNTU-CVE-2026-54919
Description
cpp-httplib versions built with Mbed TLS or wolfSSL backend support from 0.31.0 through 0.46.1 improperly skip SSL certificate chain validation when connecting to IP-literal hosts with server certificate verification enabled. This affects SSLClient and Client in HTTPS mode and WebSocketClient on the Mbed TLS backend, allowing a man-in-the-middle attacker to present a crafted certificate and intercept or modify traffic. The issue is fixed in version 0.47.0.
CVSS v3.1
Score 7.4high
Affected software
pkg:deb/ubuntu/[email protected]+ds-1ubuntu0.1~esm2?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/[email protected]+ds-1.1ubuntu0.1~esm2?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/[email protected]+ds-2ubuntu3+esm1?arch=source&distro=esm-apps/resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
cpp-httplib is a C++11 header-only HTTP/HTTPS library. In affected versions of its Mbed TLS backend (0.31.0 through 0.46.1) and wolfSSL backend (0.33.0 through 0.46.1), when built with CPPHTTPLIB_MBEDTLS_SUPPORT or CPPHTTPLIB_WOLFSSL_SUPPORT, SSLClient and Client in HTTPS mode skip certificate chain validation if connecting to an IP-literal host with server certificate verification enabled. Additionally, WebSocketClient on the Mbed TLS backend skips verification entirely. This allows a man-in-the-middle attacker positioned to intercept traffic to present a crafted certificate and read or modify the traffic. The vulnerability is resolved in version 0.47.0.
Potential Impact
The vulnerability allows a man-in-the-middle attacker to bypass SSL certificate chain validation when connecting to IP-literal hosts, enabling interception and modification of supposedly secure HTTPS and WebSocket communications. This compromises confidentiality and integrity of the affected connections.
Mitigation Recommendations
A fix is available in cpp-httplib version 0.47.0. Users should upgrade to version 0.47.0 or later to resolve this issue. No other mitigations are specified.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-54919
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:Pro:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a58b47868715ace43d981b7
Added to database: 07/16/2026, 10:37:44 UTC
Last enriched: 07/16/2026, 11:53:25 UTC
Last updated: 07/31/2026, 19:24:47 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.