CVE-2026-115822

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

Published Oct 25, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Starman versions before 0.4019 use a regular expression to parse HTTP chunked request bodies. The pattern does not match lines that contain a bare line feed, causing the matching engine to backtrack quadratically with the length of the hex run. An attacker can exploit this by sending crafted chunked requests that trigger the backtracking, thereby exhausting the CPU of a worker process and denying service to legitimate traffic.

Affected Systems

Any installation of the Starman Perl web server that is running a version earlier than 0.4019 is affected. The vulnerability impacts every route exposed by the server because the regex is applied before the application logic is reached.

Risk and Exploitability

The EPSS score is 0.00273 (≈0.27%) and the vulnerability is not listed in CISA’s KEV catalog, indicating no confirmed exploitation reports yet. Nonetheless, the potential for unbounded CPU consumption represents a high impact if applied. Remote attackers can trigger the issue by sending malformed chunked requests without any authentication, making the attack trivial to launch over an open HTTP port. Given the lack of mitigation in older versions, the likelihood of exploitation remains high until an update is applied. The CVSS base score is 7.5, indicating a high severity.

Remediation

Vendor Solution

Upgrade to Starman 0.4019 or later.


OpenCVE Recommended Actions

  • Upgrade Starman to version 0.4019 or later to replace the vulnerable regular expression
  • If an upgrade cannot be performed immediately, configure the application or the web server to reject or limit the size of chunked request bodies before they are parsed to prevent long hex runs
  • Monitor worker CPU usage and request patterns for spikes in processing time, and throttle or temporarily block traffic that exceeds reasonable thresholds

Generated by OpenCVE AI on November 2, 2026 at 16:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Miyagawa
Miyagawa starman
Vendors & Products Miyagawa
Miyagawa starman
Type Values Removed Values Added
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.
Title Starman versions before 0.4019 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies
Weaknesses CWE-1333
References
Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 2, 2026, 2:19 PM
Reserved
Oct 23, 2026, 4:47 PM
Status
Deferred
Published
Oct 25, 2026, 5:17 PM
Modified
Nov 2, 2026, 3:17 PM