{"id":"CVE-2026-45372","sourceIdentifier":"security-advisories@github.com","published":"2026-05-29T20:16:26.473","lastModified":"2026-07-22T06:10:00.170","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"yhirose","product":"cpp-httplib","versions":[{"version":"< 0.44.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L","baseScore":9.9,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":5.3}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-01T17:57:24.969798Z","id":"CVE-2026-45372","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-93"},{"lang":"en","value":"CWE-444"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*","versionEndExcluding":"0.44.0","matchCriteriaId":"80135DFE-EACD-44FD-990F-0239F78D0518"}]}]}],"references":[{"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4m","source":"security-advisories@github.com","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4m","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Mitigation","Vendor Advisory"]}]}