CVE-2026-40560 PUBLISHED

Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence

Assigner: CPANSec
Reserved: 14.04.2026 Published: 28.04.2026 Updated: 29.04.2026

Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence.

Starman 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 MIYAGAWA
Product Starman
Versions Default: unaffected
  • affected from 0 to 0.4018 (excl.)

Solutions

Upgrade to version 0.4018

Credits

  • CPANSec finder

References

Problem Types

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

Impacts

  • CAPEC-33 HTTP Request Smuggling