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-2026-46527

published high CVSS 4.0 · 8.7

cpp-httplib: Malicious `X-Forwarded-For` Under Trusted-Proxy Configuration Triggers Empty `vector::front()`, Leading to Undefined Behavior and Server Crash

Published
29 May 2026, 19:18:26 UTC
Updated
01 Jun 2026, 13:52:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
yhirose — cpp-httplib< 0.44.0 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Tumbleweed cpp-httplib-develaarch64 Advisory build 0.46.1-1.1 OPENSUSE-SU-2026:10994-1
SUSE / openSUSE openSUSE-Tumbleweed cpp-httplib-develppc64le Advisory build 0.46.1-1.1 OPENSUSE-SU-2026:10994-1
SUSE / openSUSE openSUSE-Tumbleweed cpp-httplib-devels390x Advisory build 0.46.1-1.1 OPENSUSE-SU-2026:10994-1
SUSE / openSUSE openSUSE-Tumbleweed cpp-httplib-develx86_64 Advisory build 0.46.1-1.1 OPENSUSE-SU-2026:10994-1
SUSE / openSUSE openSUSE-Tumbleweed libcpp-httplib0_46aarch64 Advisory build 0.46.1-1.1 OPENSUSE-SU-2026:10994-1
SUSE / openSUSE openSUSE-Tumbleweed libcpp-httplib0_46ppc64le Advisory build 0.46.1-1.1 OPENSUSE-SU-2026:10994-1
SUSE / openSUSE openSUSE-Tumbleweed libcpp-httplib0_46s390x Advisory build 0.46.1-1.1 OPENSUSE-SU-2026:10994-1
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed libcpp-httplib0_46x86_64 Advisory build 0.46.1-1.1 OPENSUSE-SU-2026:10994-1

Description

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, When the server has called Server::set_trusted_proxies() with a non-empty trusted-proxy list, an attacker can send an HTTP request that includes an X-Forwarded-For header whose value parses to no valid IP segments. The code path then executes get_client_ip(), which calls front() on an empty std::vector—undefined behavior in C++. On typical implementations this manifests as abnormal process termination (denial of service). With Sanitizers enabled, you get an explicit runtime diagnostic. This vulnerability is fixed in 0.44.0.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA: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.44.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-476 CWE-476: NULL Pointer Dereference (GitHub_M · cna)

References

1

Provider assertions

2

GitHub_M · cna

cpp-httplib: Malicious `X-Forwarded-For` Under Trusted-Proxy Configuration Triggers Empty `vector::front()`, Leading to Undefined Behavior and Server Crash

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
42c040e14512f72e2342759f9f562059bc6b3156d368a66196b9b338b62b736c
Ingested
23 Sep 2026, 09:16:38 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