VDB

CVE-2026-29076

CVE-2026-29076 PUBLISHED CVSS 5.9 MEDIUM

Reported by github_m · Published March 7, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
cpp-httplibyhirose0.37.0

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
yhirosecpp-httplib< 0.37.0
yhirosecpp-httplib0

Timeline

  • Mar 7, 2026 CVE Published
  • Mar 8, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 CVE Updated
  • Mar 17, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 20, 2026 PoC Published
  • Oct 10, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-29076
vulnetix vdb fixes CVE-2026-29076

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-29076/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›