Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence
Summary
| CVE | CVE-2026-40560 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-29 00:16:03 UTC |
| Updated | 2026-05-06 16:35:19 UTC |
| Description | Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence. Starman 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.000400000 probability, percentile 0.119380000 (date 2026-05-05)
Problem Types: CWE-444 | CWE-444 CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| datatracker.ietf.org/doc/html/rfc7230 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | datatracker.ietf.org | Third Party Advisory |
| github.com/miyagawa/Starman/commit/ced205f0805027e9d9c0731f8c40b10422060... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | Patch, Third Party Advisory |
| www.openwall.com/lists/oss-security/2026/04/29/1 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Third Party Advisory |
| metacpan.org/release/MIYAGAWA/Starman-0.4018/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | Product, Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: CPANSec (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-04-12T00:00:00.000Z | Issue identified by CPANSec |
| CNA | 2026-04-27T00:00:00.000Z | Issue reported to software maintainer |
| CNA | 2026-04-27T00:00:00.000Z | Fix committed to public Github repository |
| CNA | 2026-04-27T00:00:00.000Z | Updated version uploaded to CPAN |
Solutions
CNA: Upgrade to version 0.4018
There are currently no legacy QID mappings associated with this CVE.