CVE-2025-12642CWE-444

CVE-2025-12642

Critical · published November 4, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
29.5
In the wild
Unconfirmed
What it is

⚠️ The trailer fields are slipping into the headers! This medium-severity vulnerability in lighttpd 1.4.80 lets attackers perform HTTP Header Smuggling, causing chaos without breaking a sweat. 🔥 Think of it like a restaurant where the waitstaff accidentally mixes special requests into the main dish — the kitchen might not recognize what’s custom and serve something unsafe instead. In the same way, headers that aren’t properly checked can lead to unauthorized actions behind the scenes! If exploited, an attacker could bypass access control rules and inject unsafe input into backend logic, leading to any unwanted outcomes based on trusted request headers. This could result in unauthorized access to sensitive data or even executing harmful actions that affect users. Yikes!

Put simply

Think of it like a restaurant where the waitstaff accidentally mixes special requests into the main dish — the kitchen might not recognize what’s custom and serve something unsafe instead. In the same way, headers that aren’t properly checked can lead to unauthorized actions behind the scenes! The vulnerability stems from lighttpd 1.4.80 incorrectly merging trailer fields into headers after parsing the HTTP request. This mishandling allows for HTTP Header Smuggling attacks under certain conditions, compromising the expected behavior of the server.

What to do

If exploited, an attacker could bypass access control rules and inject unsafe input into backend logic, leading to any unwanted outcomes based on trusted request headers. This could result in unauthorized access to sensitive data or even executing harmful actions that affect users. Yikes! To safeguard against this issue, update lighttpd to a newer version immediately. Ensure that you audit any code that handles HTTP headers to tighten your security and validate all header inputs properly. Don't wait! You've got this! Fixing this vulnerability will keep your server safe and sound. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00368 · 29.5th percentile
Weakness
CWE-444 · Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Published
2025-11-04T01:17Z
Affected products (1)
ProductVersionsFixed in
lighttpd/lighttpdall versions—
References (1)
EPSS history
Timeline
  • 03 NOV 19:36Z
    HTTP Header Smuggling via Trailer Merge
    cvelistv5