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.
Published: 2026-10-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service via CPU exhaustion
Action: Apply Patch
AI Analysis

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 not available 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.

Generated by OpenCVE AI on October 25, 2026 at 21:33 UTC.

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 October 25, 2026 at 21:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 25 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Miyagawa
Miyagawa starman
Vendors & Products Miyagawa
Miyagawa starman

Sun, 25 Oct 2026 17:15:00 +0000

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

Subscriptions

Miyagawa Starman
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-25T16:51:00.241Z

Reserved: 2026-10-23T16:47:20.192Z

Link: CVE-2026-115822

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-25T17:17:01.637

Modified: 2026-10-25T17:17:01.637

Link: CVE-2026-115822

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-25T22:45:06Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity