cvedb.io
CVE-2026-29076
MEDIUM · CVSS 5.9
EPSS exploitation probability: 0%
Published 2026-03-07T16:15:54.193 · Last modified 2026-06-17T10:29:33.567

Summary

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.

Affected products

yhirose — cpp-httplib

Does this affect you?

Add your gear to cvedb and we'll alert you only when yhirose ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.