{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40561","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","state":"PUBLISHED","assignerShortName":"CPANSec","dateReserved":"2026-04-14T11:35:53.644Z","datePublished":"2026-05-03T00:57:31.519Z","dateUpdated":"2026-05-07T16:45:01.655Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Starlet","product":"Starlet","programFiles":["lib/Starlet/Server.pm"],"programRoutines":[{"name":"Starlet::Server::handle_connection"}],"repo":"https://github.com/kazuho/Starlet","vendor":"KAZUHO","versions":[{"lessThanOrEqual":"0.31","status":"affected","version":"0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"finder","value":"CPANSec"}],"descriptions":[{"lang":"en","value":"Starlet versions through 0.31 for Perl allows HTTP Request Smuggling via Improper Header Precedence.\n\nStarlet 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.\n\nAn attacker could exploit this to smuggle malicious HTTP requests via a front-end reverse proxy."}],"impacts":[{"capecId":"CAPEC-33","descriptions":[{"lang":"en","value":"CAPEC-33 HTTP Request Smuggling"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-444","description":"CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec","dateUpdated":"2026-05-07T16:45:01.655Z"},"references":[{"url":"https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3"},{"tags":["patch"],"url":"https://github.com/kazuho/Starlet/commit/a7d5dfd1862aafa43e5eaca0fdb6acf4cc15b2d0.patch"},{"tags":["release-notes"],"url":"https://metacpan.org/release/KAZUHO/Starlet-0.32/changes"}],"solutions":[{"lang":"en","value":"Upgrade to Starlet 0.32 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2019-11-19T00:00:00.000Z","value":"Patch submitted to Starlet 0.31"},{"lang":"en","time":"2026-04-12T00:00:00.000Z","value":"Issue identified by CPANSec"},{"lang":"en","time":"2026-04-28T00:00:00.000Z","value":"Maintainer notified"},{"lang":"en","time":"2026-05-02T00:00:00.000Z","value":"Determined that the issue was already public on GitHub"},{"lang":"en","time":"2026-05-06T00:00:00.000Z","value":"Starlet 0.32 released with a fix"}],"title":"Starlet versions through 0.31 for Perl allows HTTP Request Smuggling via Improper Header Precedence","workarounds":[{"lang":"en","value":"Migrate to Starman 0.4018 or later which has fixed this issue or apply the patch."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/03/1"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2026-05-03T03:04:55.098Z"}},{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-04T13:54:42.679845Z","id":"CVE-2026-40561","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-05-04T13:54:47.941Z"}}]}}