CVE-2026-40561

Name
CVE-2026-40561
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
9b29abf9-4ab0-4765-b253-1875cd9b441e https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3
9b29abf9-4ab0-4765-b253-1875cd9b441e https://github.com/kazuho/Starlet/commit/a7d5dfd1862aafa43e5eaca0fdb6acf4cc15b2d0.patch
af854a3a-2127-422b-91ae-364da2661108 http://www.openwall.com/lists/oss-security/2026/05/03/1
9b29abf9-4ab0-4765-b253-1875cd9b441e https://metacpan.org/release/KAZUHO/Starlet-0.32/changes

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:kazuho:starlet:*:*:*:*:*:perl:*:* perl-starlet >= None <= 0.31

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
perl-starlet edge-community 0.31-r3 Timo Teräs <timo.teras@iki.fi> possibly vulnerable
perl-starlet 3.23-community 0.31-r3 Timo Teräs <timo.teras@iki.fi> possibly vulnerable