CVE-2026-40562 PUBLISHED

Gazelle versions through 0.49 for Perl allows HTTP Request Smuggling via Improper Header Precedence

Assigner: CPANSec
Reserved: 14.04.2026 Published: 06.05.2026 Updated: 06.05.2026

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.

Product Status

Vendor KAZEBURO
Product Gazelle
Versions Default: unaffected
  • affected from 0 to 0.49 (incl.)

Workarounds

Migrate to Starman version 0.4018 or newer which has fixed the issue. Or apply the patch.

Credits

  • CPANSec finder

References

Problem Types

  • CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') CWE

Impacts

  • CAPEC-33 HTTP Request Smuggling