CVE-2026-40561
Starlet versions through 0.31 for Perl allows HTTP Request …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- datatracker.ietf.org/doc/html/rfc7230#section-3.3.3
- github.com/kazuho/Starlet/commit/a7d5dfd1862aafa43e5eaca0fdb6acf4cc15b2d0.patch
- www.openwall.com/lists/oss-security/2026/05/03/1
- metacpan.org/release/KAZUHO/Starlet-0.32/changes
- nvd.nist.gov/vuln/detail/CVE-2026-40561
- cve.org/CVERecord?id=CVE-2026-40561
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.