Starletに正規表現の過剰な処理による脆弱性、リクエストでCPUを占有される
Summary
2026年10月30日に公表された、Perl向けWebサーバー実装Starletの脆弱性です。チャンク形式のリクエストボディを解析する際の正規表現処理が過剰になり、遠隔からCPUを長時間占有されるおそれがあります。影響を受けるのは0.20以上0.33未満で、0.33で修正されています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
2026年10月30日に公表された、Perl向けWebサーバー実装Starletの脆弱性です。チャンク形式のリクエストボディを解析する際の正規表現処理が過剰になり、遠隔からCPUを長時間占有されるおそれがあります。影響を受けるのは0.20以上0.33未満で、0.33で修正されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANStarlet |
≥ 0.20, < 0.33→ 0.33 |
0.33 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115866 starlet Fix available
- Ubuntu UBUNTU-CVE-2026-115866 starlet No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web cpan.org