# CVE-2026-115822: Starman versions before 0.4019 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies

- 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:N/I:N/A:H`
- 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.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-10-25T16:51:00.241Z
- Modified: 2026-11-02T15:17:15.440Z
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

Starman versions before 0.4019 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies.

Starman decodes chunked request bodies before calling the application, matching each chunk-size line with `s/^(([0-9a-fA-F]+).*\015\012)//`. A line of hex digits followed by a bare LF and then CRLF never matches, because `.` does not match LF, and each failed attempt backtracks in time quadratic in the length of the hex run. Nothing limits the length of the line.

A remote attacker can exhaust worker CPU by sending such requests to any route.

(As written by CVE List.)

## Affected

- Starman: before 0.4019

## References

- <https://github.com/miyagawa/Starman/commit/0f33f9b132b5e410d6cce722ff71988e22476acf.patch> (patch)
- <https://metacpan.org/release/MIYAGAWA/Starman-0.4019/changes> (release-notes)

## Sources

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

---

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