CVE-2026-115822 PUBLISHED

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

Assigner: CPANSec
Reserved: 23.10.2026 Published: 25.10.2026 Updated: 25.10.2026

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.

Product Status

Package Collection https://cpan.org/modules
Package Name Starman
Versions Default: unaffected
  • affected from 0 to 0.4019 (excl.)

Solutions

Upgrade to Starman 0.4019 or later.

References

Problem Types

  • CWE-1333 Inefficient Regular Expression Complexity CWE