---
title: "CVE-2026-45372"
canonical_url: "https://pkgseek.com/security/CVE-2026-45372"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# CVE-2026-45372

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header value except Location and Referer. The validity check (is_field_value) is run before decoding, so encoded %0D%0A passes the check and is then expanded to a literal \\r\\n byte pair inside the stored header value. This vulnerability is fixed in 0.44.0.

CVE-2026-45372 is rated CRITICAL (9.9), with 4 indexed affected package builds across 2 distributions.

- **Severity / Score**: CRITICAL (9.9)
- **Affected builds**: 4
- **Affected distros**: 2
- **Distros with fixed_in**: Fedora

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libcpp-httplib0.18 | 0.18.7-1+deb13u1 | — |
| Debian | trixie | libcpp-httplib-dev | 0.18.7-1+deb13u1 | — |
| Fedora | 43 | cpp-httplib-devel | 0.20.1-2.fc43 | 0.48.0-1.fc43 |
| Fedora | 44 | cpp-httplib-devel | 0.38.0-1.fc44 | 0.48.0-1.fc44 |
