BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-29076 in Yhirose Cpp-Httplib

Medium 5.9

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.37.0, cpp-httplib uses std::regex (libstdc++) to parse RFC 5987 encoded filename* values in multipart Content-Disposition headers. The regex engine in libstdc++ implements backtracking via deep recursion, consuming o...

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

CVSS 3.15.9
EPSS1.1%
EPSS percentile64th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Yhirose Cpp-Httplib < 0.37.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 version 0.37.0, cpp-httplib uses std::regex (libstdc++) to parse RFC 5987 encoded filename* values in multipart Content-Disposition headers. The regex engine in libstdc++ implements backtracking via deep recursion, consuming one stack frame per input character. An attacker can send a single HTTP POST request with a crafted filename* parameter that causes uncontrolled stack growth, resulting in a stack overflow (SIGSEGV) that crashes the server process. This issue has been patched in version 0.37.0.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-29076
BreachSpider IDBS-2026-GLOBAL-077922-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2026-03-07
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-674: CWE-674

CWE-1333: CWE-1333

Related attack patterns (CAPEC)

CAPEC-230 Serialized Data with Nested Payloads via CWE-674

CAPEC-231 Oversized Serialized Data Payloads via CWE-674

CAPEC-492 Regular Expression Exponential Blowup via CWE-1333

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2026-29076 affects cpp-httplib versions prior to 0.37.0, where an attacker can exploit a stack-based buffer overflow via a crafted HTTP POST request using deep recursion in the regex engine.

An attacker can send a specially crafted HTTP POST request with a multipart Content-Disposition header containing a filename* value that triggers deep recursion in the std::regex engine, leading to a stack overflow.

Questions

What is CVE-2026-29076?

CVE-2026-29076 affects cpp-httplib versions prior to 0.37.0, where an attacker can exploit a stack-based buffer overflow via a crafted HTTP POST request using deep recursion in the regex engine.

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

CVE-2026-29076 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.1%.

Is CVE-2026-29076 actively exploited?

No confirmed active exploitation of CVE-2026-29076 as of 2026-09-25.

How do I remediate CVE-2026-29076?

Priority: HIGH.

What systems are affected by CVE-2026-29076?

CVE-2026-29076 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-06-17.