CVE-2026-40561 Starlet versions through 0.31 for Perl allows HTTP Request Smuggling via Improper Header Precedence
MediumCVSS 5.3
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| KAZUHO Starlet | <= 0.31 | No fix listed |
| debian/starlet(Debian:12) | All versions | No fix listed |
| debian/starlet(Debian:12) | = 0.31-2 | No fix listed |
| debian/starlet(Debian:12) | = 0.31-3 | No fix listed |
| debian/starlet(Debian:12) | = 0.32-1 | No fix listed |
| debian/starlet(Debian:13) | < 0.31-2+deb13u1 | 0.31-2+deb13u1 |
| debian/starlet(Debian:13) | = 0.31-2 | No fix listed |
| debian/starlet(Debian:14) | < 0.31-3 | 0.31-3 |
| debian/starlet(Debian:14) | = 0.31-2 | No fix listed |
| ubuntu/starlet(Ubuntu:22.04) | All versions | No fix listed |
| alpine/perl-starlet(Alpine:v3.23) | < 0.32-r0 | 0.32-r0 |
| alpine/perl-starlet(Alpine:v3.24) | < 0.32-r0 | 0.32-r0 |
| ubuntu/starlet(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/starlet(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/starlet(Ubuntu:26.10) | All versions | No fix listed |
References
- datatracker.ietf.org third-party-advisory
- github.com patch
- metacpan.org release-notes
- www.openwall.com mailing-list third-party-advisory
- Debian Security Tracker CVE-2026-40561 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking