CVE-2026-40561
MEDIUM 5.3CVSS 3.1Starlet 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.
- Published
- 3 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- NVD status
- Modified
- Weakness
- CWE-444
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kazuho | starletcpe:2.3:a:kazuho:starlet:*:*:*:*:*:perl:*:* |
<= 0.31 |
References
- https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3 · Third Party Advisory
- https://github.com/kazuho/Starlet/commit/a7d5dfd1862aafa43e5eaca0fdb6acf4cc15b2d0.patch · Patch
- https://metacpan.org/release/KAZUHO/Starlet-0.32/changes
- http://www.openwall.com/lists/oss-security/2026/05/03/1 · Mailing List, Third Party Advisory
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 3 May 2026)