BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-45372 in Yhirose Cpp-Httplib

Critical 9.9

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.9
EPSS0.4%
EPSS percentile27th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full integrity impact.

Affected products and versions

VendorProductAffected versions
Yhirose Cpp-Httplib < 0.44.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-45372
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
Published2026-05-29
Last modified2026-07-22
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-93: CWE-93

CWE-444: CWE-444

Related attack patterns (CAPEC)

CAPEC-33 HTTP Request Smuggling via CWE-444

CAPEC-81 Web Server Logs Tampering via CWE-93

CAPEC-273 HTTP Response Smuggling via CWE-444

CAPEC-15 Command Delimiters via CWE-93

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical severity vulnerability (CVE-2026-45372) affects the target system. 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...

Questions

What is CVE-2026-45372?

A critical severity vulnerability (CVE-2026-45372) affects the target system. 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...

What is the CVSS score for CVE-2026-45372?

CVE-2026-45372 has CVSS 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L. EPSS: 0.4%.

Is CVE-2026-45372 actively exploited?

No confirmed active exploitation of CVE-2026-45372 as of 2026-10-06.

How do I remediate CVE-2026-45372?

Apply vendor patches for CVE-2026-45372. Monitor Yhirose advisories.

What systems are affected by CVE-2026-45372?

CVE-2026-45372 affects Yhirose Cpp-Httplib.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Yhirose","product":"Cpp-Httplib","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-22.