{"id":"CVE-2026-40562","state":"PUBLISHED","title":"Gazelle versions through 0.49 for Perl allows HTTP Request Smuggling via Improper Header Precedence","description":"Gazelle versions through 0.49 for Perl allows HTTP Request Smuggling via Improper Header Precedence.\n\nGazelle 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.","publishedAt":"2026-05-06T12:36:34.715Z","updatedAt":"2026-05-07T16:13:49.501Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["KAZEBURO Gazelle"],"affected":[{"vendor":"KAZEBURO","product":"Gazelle","packageName":"Gazelle","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.49","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Plack/Handler/Gazelle.pm","lib/Plack/Handler/Gazelle.xs"],"programRoutines":[{"name":"Plack::Handler::Gazelle::run"},{"name":"lib/Plack/Handler/Gazelle.xs::_parse_http_request"}],"repo":"https://github.com/kazeburo/Gazelle"}],"references":["https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3","https://security.metacpan.org/patches/G/Gazelle/0.49/CVE-2026-40562-r1.patch","https://metacpan.org/release/KAZEBURO/Gazelle-0.50/changes","http://www.openwall.com/lists/oss-security/2026/05/06/7"],"weaknesses":["CWE-444"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40562.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40562","state":"PUBLISHED","datePublished":"2026-05-06T12:36:34.715Z","dateUpdated":"2026-05-07T16:13:49.501Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-04-14T11:35:53.644Z"},"containers":{"cna":{"title":"Gazelle versions through 0.49 for Perl allows HTTP Request Smuggling via Improper Header Precedence","descriptions":[{"lang":"en","value":"Gazelle versions through 0.49 for Perl allows HTTP Request Smuggling via Improper Header Precedence.\n\nGazelle 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."}],"affected":[{"vendor":"KAZEBURO","product":"Gazelle","packageName":"Gazelle","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.49","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Plack/Handler/Gazelle.pm","lib/Plack/Handler/Gazelle.xs"],"programRoutines":[{"name":"Plack::Handler::Gazelle::run"},{"name":"lib/Plack/Handler/Gazelle.xs::_parse_http_request"}],"repo":"https://github.com/kazeburo/Gazelle"}],"references":[{"url":"https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3"},{"url":"https://security.metacpan.org/patches/G/Gazelle/0.49/CVE-2026-40562-r1.patch","tags":["patch"]},{"url":"https://metacpan.org/release/KAZEBURO/Gazelle-0.50/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-444","description":"CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-05-07T16:13:49.501Z"},"credits":[{"lang":"en","type":"finder","value":"CPANSec"}],"impacts":[{"capecId":"CAPEC-33","descriptions":[{"lang":"en","value":"CAPEC-33 HTTP Request Smuggling"}]}],"solutions":[{"lang":"en","value":"Upgrade to Gazelle 0.50 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-04-12T00:00:00.000Z","value":"Issue identified by CPANSec"},{"lang":"en","time":"2026-04-29T00:00:00.000Z","value":"Issue reported to software maintainer"},{"lang":"en","time":"2026-05-06T00:00:00.000Z","value":"Issue disclosed by CPANSec"},{"lang":"en","time":"2026-05-07T00:00:00.000Z","value":"Gazelle 0.50 released"}],"workarounds":[{"lang":"en","value":"Migrate to Starman version 0.4018 or newer which has fixed the issue.  Or apply the patch."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-06T14:14:25.637199Z","id":"CVE-2026-40562","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-06T14:15:32.815Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/06/7"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-06T16:32:45.619Z"}}]}}}