CVE-2026-34441

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

Configuration 1 (hide)

cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) cpp-httplib es una biblioteca HTTP/HTTPS multiplataforma de C++11 de un solo archivo de solo encabezado. Antes de la versión 0.40.0, cpp-httplib es vulnerable a Contrabando de Solicitudes HTTP. El gestor de archivos estáticos del servidor sirve respuestas GET sin consumir el cuerpo de la solicitud. En conexiones keep-alive de HTTP/1.1, los bytes del cuerpo no leídos permanecen en el flujo TCP y son interpretados como el inicio de una nueva solicitud HTTP. Un atacante puede incrustar una solicitud HTTP arbitraria dentro del cuerpo de una solicitud GET, que el servidor procesa como una solicitud separada. Este problema ha sido parcheado en la versión 0.40.0.

01 Apr 2026, 20:28

Type Values Removed Values Added
References () https://github.com/yhirose/cpp-httplib/releases/tag/v0.40.0 - () https://github.com/yhirose/cpp-httplib/releases/tag/v0.40.0 - Product, Release Notes
References () https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-jv63-rm9j-6jwc - () https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-jv63-rm9j-6jwc - Exploit, Mitigation, Vendor Advisory
First Time Yhirose
Yhirose cpp-httplib
CPE cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*

31 Mar 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-31 22:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-34441

Mitre link : CVE-2026-34441

CVE.ORG link : CVE-2026-34441


JSON object : View

Products Affected

yhirose

  • cpp-httplib
CWE
CWE-444

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')