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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Starlet | 0.20 – < 0.33 | 0.33 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | starlet | 0.33-1 | — |
| Debian 13 | starlet | No fix yet | — |
| Debian 12 | starlet | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | starlet | No fix yet | — |
| Ubuntu 26.04 LTS | starlet | No fix yet | — |
| Ubuntu 24.04 LTS | starlet | No fix yet | — |
| Ubuntu 22.04 LTS | starlet | No fix yet | — |
| Ubuntu 20.04 LTS | starlet | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | starlet | No fix yet | — |
| Ubuntu 16.04 LTS | starlet | No fix yet | — |