CVE-2026-40562
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.5
(v3.1)
Vulnerability status
Analyzed
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-05-06 13:16:09.110000
Last modified
2026-10-26 19:10:00.163000
View original CVE JSON
{
"id": "CVE-2026-40562",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"published": "2026-05-06T13:16:09.110",
"lastModified": "2026-10-26T19:10:00.163",
"vulnStatus": "Analyzed",
"cveTags": [],
"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."
},
{
"lang": "es",
"value": "Las versiones de Gazelle hasta la 0.49 para Perl permiten el Contrabando de Solicitudes HTTP a través de una Precedencia de Encabezado Inadecuada.\n\nGazelle prioriza incorrectamente ’Content-Length’ sobre ’Transfer-Encoding: chunked’ cuando ambos encabezados están presentes en una solicitud HTTP. Según la RFC 7230 3.3.3, Transfer-Encoding debe tener precedencia.\n\nUn atacante podría explotar esto para contrabandear solicitudes HTTP maliciosas a través de un proxy inverso de front-end."
}
],
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"vendor": "KAZEBURO",
"product": "Gazelle",
"defaultStatus": "unaffected",
"collectionURL": "https://cpan.org/modules",
"packageName": "Gazelle",
"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",
"versions": [
{
"version": "0",
"lessThanOrEqual": "0.49",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-06T14:14:25.637199Z",
"id": "CVE-2026-40562",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-444"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:kazeburo:gazelle:*:*:*:*:*:perl:*:*",
"versionEndExcluding": "0.50",
"matchCriteriaId": "F2360CF4-CAB8-4DC7-B595-C7501D7EC17C"
}
]
}
]
}
],
"references": [
{
"url": "https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://metacpan.org/release/KAZEBURO/Gazelle-0.50/changes",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"tags": [
"Release Notes"
]
},
{
"url": "https://security.metacpan.org/patches/G/Gazelle/0.49/CVE-2026-40562-r1.patch",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"tags": [
"Patch"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/05/06/7",
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Mailing List",
"Third Party Advisory"
]
}
]
}