CVE-2025-66577
published medium CVSS 3.1 · 5.3cpp-httplib Untrusted HTTP Header Handling: X-Forwarded-For/X-Real-IP Trust
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yhirose | — | cpp-httplib< 0.27.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22aarch64 | Advisory build | 0.22.0-160000.3.1 | SUSE-SU-2026:20090-1 |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22ppc64le | Advisory build | 0.22.0-160000.3.1 | SUSE-SU-2026:20090-1 |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22s390x | Advisory build | 0.22.0-160000.3.1 | SUSE-SU-2026:20090-1 |
| SUSE / openSUSE | SLE-16 | libcpp-httplib0_22x86_64 | Advisory build | 0.22.0-160000.3.1 | SUSE-SU-2026:20090-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-develaarch64 | Advisory build | 0.22.0-160000.3.1 | OPENSUSE-SU-2026:20056-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-develppc64le | Advisory build | 0.22.0-160000.3.1 | OPENSUSE-SU-2026:20056-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpp-httplib-devels390x | Advisory build | 0.22.0-160000.3.1 | OPENSUSE-SU-2026:20056-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.3.1 | OPENSUSE-SU-2026:20056-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22aarch64 | Advisory build | 0.22.0-160000.3.1 | OPENSUSE-SU-2026:20056-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22ppc64le | Advisory build | 0.22.0-160000.3.1 | OPENSUSE-SU-2026:20056-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22s390x | Advisory build | 0.22.0-160000.3.1 | OPENSUSE-SU-2026:20056-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcpp-httplib0_22x86_64 | Advisory build | 0.22.0-160000.3.1 | OPENSUSE-SU-2026:20056-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develaarch64 | Advisory build | 0.28.0-1.1 | OPENSUSE-SU-2025:15844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develppc64le | Advisory build | 0.28.0-1.1 | OPENSUSE-SU-2025:15844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-devels390x | Advisory build | 0.28.0-1.1 | OPENSUSE-SU-2025:15844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develx86_64 | Advisory build | 0.28.0-1.1 | OPENSUSE-SU-2025:15844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_28aarch64 | Advisory build | 0.28.0-1.1 | OPENSUSE-SU-2025:15844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_28ppc64le | Advisory build | 0.28.0-1.1 | OPENSUSE-SU-2025:15844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_28s390x | Advisory build | 0.28.0-1.1 | OPENSUSE-SU-2025:15844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_28x86_64 | Advisory build | 0.28.0-1.1 | OPENSUSE-SU-2025:15844-1 |
Description
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.27.0, a vulnerability allows attacker-controlled HTTP headers to influence server-visible metadata, logging, and authorization decisions. An attacker can supply X-Forwarded-For or X-Real-IP headers which get accepted unconditionally by get_client_ip() in docker/main.cc, causing access and error logs (nginx_access_logger / nginx_error_logger) to record spoofed client IPs (log poisoning / audit evasion). This vulnerability is fixed in 0.27.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:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yhirose | cpp-httplib | < 0.27.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-117 CWE-117: Improper Output Neutralization for Logs
- CWE-807 CWE-807: Reliance on Untrusted Inputs in a Security Decision
References
2Provider assertions
2GitHub_M · cna
cpp-httplib Untrusted HTTP Header Handling: X-Forwarded-For/X-Real-IP Trust
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c2e3452fff9b73ef1069ff7dd145639ab5e75506ba69a091bd692d22fca678a9
- Ingested
- 23 Sep 2026, 08:56:35 UTC
- Source record
- Official CVE record