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-77341

published medium CVSS 4.0 · 5.3

cpp-httplib: CRLF injection via unvalidated HTTP trailer headers in chunked response writing

Published
27 Aug 2026, 22:16:45 UTC
Updated
28 Aug 2026, 15:30:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
yhirose — cpp-httplib>= 0.49.0, < 0.50.0 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Tumbleweed ccacheaarch64 Advisory build 4.14.1-1.1 OPENSUSE-SU-2026:11979-1
SUSE / openSUSE openSUSE-Tumbleweed ccacheppc64le Advisory build 4.14.1-1.1 OPENSUSE-SU-2026:11979-1
SUSE / openSUSE openSUSE-Tumbleweed ccaches390x Advisory build 4.14.1-1.1 OPENSUSE-SU-2026:11979-1
SUSE / openSUSE openSUSE-Tumbleweed ccachex86_64 Advisory build 4.14.1-1.1 OPENSUSE-SU-2026:11979-1

Description

cpp-httplib is a C++ header-only HTTP/HTTPS library. In version 0.49.0, the chunked-response trailer output path writes trailer header names and values directly to the socket without validating them, allowing CRLF sequences in a trailer field to inject additional headers or split the HTTP response. Unlike every other header-writing path in the library, the trailer-writing code applies none of the field-name and field-value checks that reject carriage return and line feed, so an application that places attacker-influenced data into a chunked response trailer emits attacker-controlled CRLF onto the wire. This enables HTTP response splitting, letting an attacker forge response headers or inject a second response. This issue is fixed in version 0.50.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
5.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/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.49.0, < 0.50.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') (GitHub_M · cna)
  • CWE-113 CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

cpp-httplib: CRLF injection via unvalidated HTTP trailer headers in chunked response writing

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
a7da8d9215dbb8dce55dd6e5d999b77024e2072e49bed3f8507b2a8a1fba6a22
Ingested
23 Sep 2026, 09:32:39 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