Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-66570

published critical CVSS 3.1 · 10.0

cpp-httplib Untrusted HTTP Header Handling: Internal Header Shadowing (REMOTE*/LOCAL*)

Published
05 Dec 2025, 18:18:02 UTC
Updated
05 Dec 2025, 18:40:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
yhirose — cpp-httplib< 0.27.0 Affected Not stated GitHub_M
Ubuntu jammy cpp-httplib Advisory build 0.10.3+ds-1ubuntu0.1~esm1 USN-7962-1
SUSE / openSUSE SLE-16 libcpp-httplib0_22aarch64 Advisory build 0.22.0-160000.3.1 SUSE-SU-2026:20090-1
Ubuntu noble cpp-httplib Advisory build 0.14.3+ds-1.1ubuntu0.1~esm1 USN-7962-1
Ubuntu questing cpp-httplib Advisory build 0.18.7-1ubuntu0.25.10.1 USN-7962-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
Show 19 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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
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
Ubuntu jammy libcpp-httplib0 Advisory build 0.10.3+ds-1ubuntu0.1~esm1 USN-7962-1
Ubuntu noble libcpp-httplib0.14t64 Advisory build 0.14.3+ds-1.1ubuntu0.1~esm1 USN-7962-1
Ubuntu questing libcpp-httplib0.18 Advisory build 0.18.7-1ubuntu0.25.10.1 USN-7962-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 inject headers named REMOTE_ADDR, REMOTE_PORT, LOCAL_ADDR, LOCAL_PORT that are parsed into the request header multimap via read_headers() in httplib.h (headers.emplace), then the server later appends its own internal metadata using the same header names in Server::process_request without erasing duplicates. Because Request::get_header_value returns the first entry for a header key (id == 0) and the client-supplied headers are parsed before server-inserted headers, downstream code that uses these header names may inadvertently use attacker-controlled values. Affected files/locations: cpp-httplib/httplib.h (read_headers, Server::process_request, Request::get_header_value, get_header_value_u64) and cpp-httplib/docker/main.cc (get_client_ip, nginx_access_logger, nginx_error_logger). Attack surface: attacker-controlled HTTP headers in incoming requests flow into the Request.headers multimap and into logging code that reads forwarded headers, enabling IP spoofing, log poisoning, and authorization bypass via header shadowing. This vulnerability is fixed in 0.27.0.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
10.0 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
yhirose cpp-httplib < 0.27.0 (affected) GitHub_M · cna

Weaknesses

3
  • CWE-290 CWE-290: Authentication Bypass by Spoofing (GitHub_M · cna)
  • CWE-345 CWE-345: Insufficient Verification of Data Authenticity (GitHub_M · cna)
  • CWE-807 CWE-807: Reliance on Untrusted Inputs in a Security Decision (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

cpp-httplib Untrusted HTTP Header Handling: Internal Header Shadowing (REMOTE*/LOCAL*)

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
b7c5099d512a091b25ee88398d3bb7275fa043490cc9ef33859fb5086ed33caa
Ingested
23 Sep 2026, 08:56:35 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected