SecurityContext

CVE-2026-45372: cpp-httplib - CRLF Injection

  • Cve: CVE-2026-45372
  • Name: cpp-httplib - CRLF Injection
  • Description: 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.
  • Impact: Attackers can inject CRLF characters into HTTP headers, potentially enabling HTTP response splitting or header injection attacks.
  • Remediation: Update to version 0.44.0 or later.
  • Vulnerability type: crlf_injection
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
  • Epss score: 0.00295
  • Epss percentile: 0.22411
  • Assignee: [email protected]
  • Published at: 2026-05-29T20:16:26Z
  • Age in days: 179
  • Modified at: 2026-07-22T06:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45372
  • Nvd status: modified
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-93Improper Neutralization of CRLF Sequences

Public exploits

UrlSourceAdded date
https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4mnvd2026-05-29

References

UrlSourceTags
https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xjxg-64p4-vj4mnvdExploit, Mitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
yhirose:cpp-httplib< 0.44.0nonvd/v1/products/yhirose/cpp-httplib

Projects

RepositoryLink kindsIndexedUrl
yhirose/cpp-httplibsecurity_advisoryyes/v1/repositories/yhirose/cpp-httplib

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-05-29
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts