Vulnerability · Published May 3, 2026 · Assigned by CPANSec

CVE-2026-40561Starlet versions through 0.31 for Perl allows HTTP Request Smuggling via Improper Header Precedence

Medium 5.3

In plain English

A medium-severity security flaw in Starlet from KAZUHO. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 69.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23perl-starlet0.32-r0ALPINE-CVE-2026-40561
Alpine:v3.24perl-starlet0.32-r0ALPINE-CVE-2026-40561
Debian:12starletno fix listedDEBIAN-CVE-2026-40561
Debian:13starlet0.31-2+deb13u1DEBIAN-CVE-2026-40561
Debian:14starlet0.31-3DEBIAN-CVE-2026-40561
Ubuntu:22.04:LTSstarletno fix listedUBUNTU-CVE-2026-40561
Ubuntu:24.04:LTSstarletno fix listedUBUNTU-CVE-2026-40561
Ubuntu:25.10starletno fix listedUBUNTU-CVE-2026-40561
Ubuntu:26.04:LTSstarletno fix listedUBUNTU-CVE-2026-40561
Ubuntu:26.10starletno fix listedUBUNTU-CVE-2026-40561

Affected products (as reported)

VendorProductVersions
KAZUHO Starlet 0 – through 0.31

Weakness: CWE-444 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References