CVE-2026-40561
Last modified
CVE-2026-40561 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Starlet versions through 0.31 for Perl allows HTTP Request Smuggling via Improper Header Precedence. Starlet incorrectly prioritizes "Content-Length" over "Transfer-Encoding: chunked" when both headers are present in an HTTP request. Per RFC 7230 3.3.3, Transfer-Encoding must take precedence. An attacker could exploit this to smuggle malicious HTTP requests via a front-end reverse proxy.. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
Description
Starlet versions through 0.31 for Perl allows HTTP Request Smuggling via Improper Header Precedence. Starlet incorrectly prioritizes "Content-Length" over "Transfer-Encoding: chunked" when both headers are present in an HTTP request. Per RFC 7230 3.3.3, Transfer-Encoding must take precedence. An attacker could exploit this to smuggle malicious HTTP requests via a front-end reverse proxy.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Kazuho | Starlet | <= 0.31 |
References
- https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3Third Party Advisory
- http://www.openwall.com/lists/oss-security/2026/05/03/1Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-40561?
How severe is CVE-2026-40561?
How do I fix CVE-2026-40561?
Are you affected by CVE-2026-40561?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
