Skip to main content
← All vulnerabilities
CVE-2026-115822EUVD-2026-109559GHSA-2826-QW6W-9H42

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.4019
None on Exploit-DB, Metasploit or GitHub

Summary

Starman, a Perl web server, is affected when parsing chunked HTTP request bodies. A remote attacker can send specially crafted requests with very long chunk-size lines to consume excessive CPU on the server workers, slowing or denying service.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • Starman

    fixed in 0.4019

References 2

GitHub · miyagawa/Starman

metacpan.org