CVE-2026-40562 Gazelle versions through 0.49 for Perl allows HTTP Request Smuggling via Improper Header Precedence

High 7.5 Published Updated

Attackers can smuggle HTTP requests by exploiting header precedence errors in the Gazelle Perl server, bypassing front-end proxy security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-40562?

CVE-2026-40562 is a high-severity vulnerability in KAZEBURO Gazelle, published on 6 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-444

Which versions are affected by CVE-2026-40562?

It affects 1 product.

Products include Kazeburo Gazelle.

How do I fix CVE-2026-40562?

Apply the vendor's patch.

Is CVE-2026-40562 being exploited?

There is no known exploitation of CVE-2026-40562 in the wild and no public exploit code.

Sources

Also known as GHSA-mjw2-gf6p-382h, MGASA-2026-0130.

Is CVE-2026-40562 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free