Gazelle versions through 0.49 for Perl allows HTTP Request Smuggling via Improper Header Precedence
Summary
| CVE | CVE-2026-40562 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-06 13:16:09 UTC |
| Updated | 2026-05-11 15:04:24 UTC |
| Description | Gazelle versions through 0.49 for Perl allows HTTP Request Smuggling via Improper Header Precedence. Gazelle 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:N/I:H/A:N
EPSS: 0.000380000 probability, percentile 0.113870000 (date 2026-05-12)
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:N/I:H/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:N/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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 |
| security.metacpan.org/patches/G/Gazelle/0.49/CVE-2026-40562-r1.patch | 9b29abf9-4ab0-4765-b253-1875cd9b441e | security.metacpan.org | Patch |
| metacpan.org/release/KAZEBURO/Gazelle-0.50/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | Release Notes |
| www.openwall.com/lists/oss-security/2026/05/06/7 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Third Party Advisory |
| 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-29T00:00:00.000Z | Issue reported to software maintainer |
| CNA | 2026-05-06T00:00:00.000Z | Issue disclosed by CPANSec |
| CNA | 2026-05-07T00:00:00.000Z | Gazelle 0.50 released |
Solutions
CNA: Upgrade to Gazelle 0.50 or later.
Workarounds
CNA: Migrate to Starman version 0.4018 or newer which has fixed the issue. Or apply the patch.
There are currently no legacy QID mappings associated with this CVE.