Vulnary
← back to the feed
Critical· 9.9official fix available

CVE-2026-45372

A critical flaw in the cpp-httplib library allows attackers to inject carriage return and line feed characters into HTTP headers. The bug occurs because percent-decoded values are stored without validation. Updating to version 0.44.0 or later removes the vulnerability.

publishedMay 29, 2026
last modifiedJul 22, 2026
sourcesNVD
severity · cvss
9.9
critical · how bad it is
exploitation · epss
<1%
22th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Aug 24, 2026

An official fix is available, so this entry is kept for 30 days and then removed automatically.

01

Who is affected

The C++ header‑only library cpp‑httplib (yhirose) versions earlier than 0.44.0, used by developers building cross‑platform HTTP servers.

02

Real-world impact

An attacker could insert malicious header values that may lead to header injection attacks, potentially causing unintended redirects, cross‑site scripting, or other HTTP header manipulation.

03

Why this severity

The CVSS score is high because the flaw is exploitable over the network, requires no user interaction, and can compromise confidentiality and integrity of data.

04

What to do about it

official fix available
recommended steps
  1. 01Upgrade cpp-httplib to version 0.44.0 or later.

NVD-referenced vendor advisory

05

Timeline

  1. May 29, 2026 · May 29, 2026
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 22, 2026 · 13d ago
    Advisory updated
    The NVD record was last revised.
  3. Jul 25, 2026 · 10d ago
    Official fix available
    A vendor patch or mitigation now exists — see the remediation steps above.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredNone
User interactionNone needed
ScopeChanged
Confidentiality impactLow
Integrity impactHigh
Availability impactLow
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →