CVE-2026-28434
published medium CVSS 3.1 · 5.3cpp-httplib's default exception handler leaks e.what() to clients via EXCEPTION_WHAT response header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yhirose | — | cpp-httplib< 0.35.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 0.35.0, when a request handler throws a C++ exception and the application has not registered a custom exception handler via set_exception_handler(), the library catches the exception and writes its message directly into the HTTP response as a header named EXCEPTION_WHAT. This header is sent to whoever made the request, with no authentication check and no special configuration required to trigger it. The behavior is on by default. A developer who does not know to opt in to set_exception_handler() will ship a server that leaks internal exception messages to any client. This vulnerability is fixed in 0.35.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.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yhirose | cpp-httplib | < 0.35.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
2Provider assertions
2GitHub_M · cna
cpp-httplib's default exception handler leaks e.what() to clients via EXCEPTION_WHAT response header
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cf2645ac9d67056a5f003a1c08fec43e1e0e803bd17428483f1e1304e3774871
- Ingested
- 23 Sep 2026, 09:08:14 UTC
- Source record
- Official CVE record