TROYANOSYVIRUS
Back to CVEs

CVE-2026-29076

MEDIUM
5.9

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.

CVE Details

CVSS v3.1 Score5.9
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredNONE
User InteractionNONE
Published3/7/2026
Last Modified3/9/2026
Sourcenvd
Honeypot Sightings0

Affected Products

yhirose:cpp-httplib

Weaknesses (CWE)

CWE-674CWE-1333

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.