# CVE-2026-40560: Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-04-28T23:46:37.780Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-444
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- Starman: before 0.4018
- miyagawa starman: before 0.4018

## References

- <https://github.com/miyagawa/Starman/commit/ced205f0805027e9d9c0731f8c40b104220604ed.patch> (patch, third-party-advisory)
- <https://metacpan.org/release/MIYAGAWA/Starman-0.4018/changes> (product, release-notes)
- <https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2026/04/29/1> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-40560](https://www.cve.org/CVERecord?id=CVE-2026-40560), CVE Terms of Use, modified 2026-04-29
- NVD: [CVE-2026-40560](https://nvd.nist.gov/vuln/detail/CVE-2026-40560), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-40560 · Whole record: https://cve.day/CVE-2026-40560.json · Rebuilt by cve.day 2026-11-25T22:59:20.042Z
