Description
HTTP::Body versions before 1.23_01 for Perl allow CPU exhaustion via quadratic rescanning of a multipart body with a missing or malformed boundary.
Before the first part, and between parts, the multipart parser searches the whole buffered body for the next boundary. On a miss it keeps everything and searches again from the start when the next chunk arrives. A body with no boundary, or with a delimiter followed by neither CRLF nor "--", is therefore rescanned on every chunk, taking time quadratic in its size.
A remote attacker can exhaust worker CPU with a few such requests.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | HTTP-Body | < 1.23_01 | 1.23_01 |
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 | libhttp-body-perl | 1.24.01-1 | — |
| Debian 13 | libhttp-body-perl | No fix yet | — |
| Debian 12 | libhttp-body-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libhttp-body-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libhttp-body-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libhttp-body-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libhttp-body-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libhttp-body-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libhttp-body-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libhttp-body-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-HTTP-Body | 1.240.0-1.1 | openSUSE-SU-2026:12346-1 |
Advisories 1
- openSUSE-SU-2026:12346-1 perl-HTTP-Body-1.240.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 31, 2026