CVE-2026-29076
published medium CVSS 3.1 · 5.9cpp-httplib: Stack Overflow Denial of Service (DoS) via std::regex in multipart filename parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yhirose | — | cpp-httplib< 0.37.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22aarch64 | Advisory build | 0.22.0-160000.5.1 | SUSE-SU-2026:21599-1 |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22ppc64le | Advisory build | 0.22.0-160000.5.1 | SUSE-SU-2026:21599-1 |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22s390x | Advisory build | 0.22.0-160000.5.1 | SUSE-SU-2026:21599-1 |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22x86_64 | Advisory build | 0.22.0-160000.5.1 | SUSE-SU-2026:21599-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-develaarch64 | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-develppc64le | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-devels390x | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-develx86_64 | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22aarch64 | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22ppc64le | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22s390x | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22x86_64 | Advisory build | 0.22.0-160000.5.1 | OPENSUSE-SU-2026:20733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develaarch64 | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develppc64le | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-devels390x | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develx86_64 | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_38aarch64 | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_38ppc64le | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_38s390x | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_38x86_64 | Advisory build | 0.38.0-1.1 | OPENSUSE-SU-2026:10435-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yhirose | cpp-httplib | < 0.37.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-674 CWE-674: Uncontrolled Recursion
- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
3Provider assertions
2GitHub_M · cna
cpp-httplib: Stack Overflow Denial of Service (DoS) via std::regex in multipart filename parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 89fff694d082981fca17b662205b1134beaa4afc35813cbefd9456d278104dd5
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record