{"id":"CVE-2026-45372","aliases":["CVE-2026-45372"],"related":[],"kind":"vulnerability","state":"published","title":"cpp-httplib: HTTP header value percent-decoding in server-side `parse_header` enables CRLF injection","summary":"cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header value except Location and Referer. The validity check (is_field_value) is run before decoding, so encoded %0D%0A passes the check and is then expanded to a literal \\r\\n byte pair inside the stored header value. This vulnerability is fixed in 0.44.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header value except Location and Referer. The validity check (is_field_value) is run before decoding, so encoded %0D%0A passes the check and is then expanded to a literal \\r\\n byte pair inside the stored header value. This vulnerability is fixed in 0.44.0.","source":"cvelist"},{"lang":"es","text":"cpp-httplib es una biblioteca HTTP/HTTPS multiplataforma de un solo archivo de cabecera para C++11. Antes de la 0.44.0, cuando el servidor de cpp-httplib analiza una solicitud entrante, aplica la decodificación de porcentaje a cada valor de cabecera, excepto a Location y Referer. La comprobación de validez (is_field_value) se ejecuta antes de la decodificación, por lo que el %0D%0A codificado pasa la comprobación y luego se expande a un par de bytes literal \\r\\n dentro del valor de cabecera almacenado. Esta vulnerabilidad se corrige en la 0.44.0.","source":"nvd"}],"published":"2026-05-29T19:21:12.313Z","modified":"2026-07-22T06:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L","score":9.9,"rating":"CRITICAL"}],"cwes":["CWE-93","CWE-444"],"affected":[{"ranges":[{"version":"< 0.44.0","status":"affected"}],"vendor":"yhirose","product":"cpp-httplib","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.44.0"}],"vendor":"yhirose","product":"cpp-httplib","cpe":"cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4m","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-06-01T17:57:24.969Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45372","url":"https://www.cve.org/CVERecord?id=CVE-2026-45372","licence":"CVE Terms of Use","modified":"2026-06-01T17:57:44.116Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45372","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45372","licence":"Public domain","modified":"2026-07-22T06:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:23.367Z","epss":{"score":0.00295,"percentile":0.23748,"date":"2026-12-02T12:00:21.000Z"}}