CVE-2026-34441 Details
Description
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.40.0, cpp-httplib is vulnerable to HTTP Request Smuggling. The server's static file handler serves GET responses without consuming the request body. On HTTP/1.1 keep-alive connections, the unread body bytes remain on the TCP stream and are interpreted as the start of a new HTTP request. An attacker can embed an arbitrary HTTP request inside the body of a GET request, which the server processes as a separate request. This issue has been patched in version 0.40.0.
A vulnerability allowing HTTP request smuggling has been identified in cpp-httplib versions prior to 0.40.0. The issue arises because the server's static file handler processes GET requests without reading the request body. On HTTP/1.1 keep-alive connections, the unconsumed body bytes remain in the TCP stream and are interpreted as the beginning of a new HTTP request. This allows an attacker to embed an arbitrary HTTP request within the body of a GET request, which the server then processes as a separate request. Additionally, the server improperly handles requests with both 'Content-Length' and 'Transfer-Encoding' headers, violating RFC 9112 §6.3 and enabling further smuggling variants when behind a reverse proxy.
Users are advised to update to cpp-httplib version 0.40.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yhirose/cpp-httplib/releases/tag/v0.40.0 | [email protected] | ProductRelease Notes |
| https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-jv63-rm9j-6jwc | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-444 | Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yhirose cpp-httplib | < 0.40.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2026 | Initial Analysis | [email protected] |
| Mar 31, 2026 | New CVE Received | [email protected] |