CVE-2026-115822

NameCVE-2026-115822
DescriptionStarman 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1152054

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
starman (PTS)bookworm0.4016-1vulnerable
trixie0.4018-0+deb13u1vulnerable
forky0.4018-1vulnerable
sid0.4019-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
starmansource(unstable)0.4019-11152054

Notes

https://lists.security.metacpan.org/cve-announce/msg/44625157/
Fixed by: https://github.com/miyagawa/Starman/commit/0f33f9b132b5e410d6cce722ff71988e22476acf (0.4019)

Search for package or bug name: Reporting problems