Description
Starlet versions from 0.20 before 0.33 for Perl allow CPU exhaustion via regular expression backtracking when decoding chunked request bodies.

A chunk-size line is matched as a run of hex digits, then .* and a CRLF. A run followed by a bare LF and then a CRLF can never match, and the engine retries the match once for each digit, so the time taken grows with the square of the run length. Nothing limits the length of the run, which can span several reads.

A remote attacker can occupy a worker for about a minute of CPU time with one 128 KiB request, before the application is called.
Published: 2026-10-30
Score: n/a
EPSS: n/a
KEV: No
Impact: CPU Exhaustion Leading to Denial of Service
Action: Patch
AI Analysis

Impact

Starlet versions 0.20 through 0.32 for Perl contain a flaw in the routine that decodes chunked request bodies. The routine relies on a regular expression that backtracks linearly with the length of hexadecimal run‑size fields, causing the evaluation time to grow quadratically. An attacker can send a specially crafted chunk‑size line that triggers extreme backtracking, exhausting CPU resources before the application logic is executed.

Affected Systems

All installations of Starlet Perl module version 0.20 up to but not including 0.33 are affected. The vulnerability manifests only when Chunked Transfer Encoding is used in HTTP requests, so any web application or proxy that loads the Starlet Perl module could be impacted.

Risk and Exploitability

The flaw can be triggered remotely via an HTTP request, making it a remote denial‑of‑service weakness. The attacker only needs to send an oversized chunk‑size line – a 128 KiB request can consume around one minute of CPU time on a single worker. Since no public exploits exist yet, the EPSS score is unavailable and the vulnerability is not listed in CISA KEV. The lack of an exploit cap and the ability to affect any service that uses the vulnerable module mean the risk is significant for exposed services, especially those that do not impose strict request size limits or enforce timeouts.

Generated by OpenCVE AI on October 30, 2026 at 14:28 UTC.

Remediation

Vendor Solution

Upgrade to Starlet 0.33 or later.


OpenCVE Recommended Actions

  • Upgrade to Starlet 0.33 or a newer release that removes the problematic regex pattern
  • Configure the application to reject or limit chunked requests with exceptionally large size fields, thereby preventing long run‑size lines from reaching the parser
  • Introduce a CPU time or request duration limit for workers handling HTTP requests so that a single request cannot consume excessive resources

Generated by OpenCVE AI on October 30, 2026 at 14:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Kazuho
Kazuho starlet
Vendors & Products Kazuho
Kazuho starlet

Fri, 30 Oct 2026 13:00:00 +0000

Type Values Removed Values Added
Description Starlet versions from 0.20 before 0.33 for Perl allow CPU exhaustion via regular expression backtracking when decoding chunked request bodies. A chunk-size line is matched as a run of hex digits, then .* and a CRLF. A run followed by a bare LF and then a CRLF can never match, and the engine retries the match once for each digit, so the time taken grows with the square of the run length. Nothing limits the length of the run, which can span several reads. A remote attacker can occupy a worker for about a minute of CPU time with one 128 KiB request, before the application is called.
Title Starlet versions from 0.20 before 0.33 for Perl allow CPU exhaustion via regular expression backtracking when decoding chunked request bodies
Weaknesses CWE-1333
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-30T12:45:39.814Z

Reserved: 2026-10-23T17:41:34.521Z

Link: CVE-2026-115866

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-30T13:18:31.070

Modified: 2026-10-30T13:18:31.070

Link: CVE-2026-115866

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T14:45:14Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity