CVE-2026-115866

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

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

Analysis

AI-generated

Technical 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 the EPSS score is < 1% and the vulnerability is not listed in CISA KEV, the risk of exploitation remains low but the potential impact is significant for exposed services. The CVSS score is 7.5.

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 November 4, 2026 at 07:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
References
Metrics threat_severity

None

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'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Kazuho
Kazuho starlet
Vendors & Products Kazuho
Kazuho starlet
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
Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 6, 2026, 4:44 PM
Reserved
Oct 23, 2026, 5:41 PM
Status
Deferred
Published
Oct 30, 2026, 1:18 PM
Modified
Nov 6, 2026, 5:17 PM
Severity
Important
Public date
Oct 30, 2026, 12:45 PM