Description
HTTP::Body versions before 1.24_01 for Perl allow CPU exhaustion via regex backtracking on the filename of a multipart upload.
For every file part, the multipart parser finds the suffix of the uploaded filename by matching the default $basename_regexp, qr/[^.]+(\.[^\\\/]+)$/, against the whole basename. A basename made of many dots and ending in a backslash makes the regex backtrack in time quadratic in its length.
A remote attacker can exhaust CPU with one request, as a basename of about 32 KB takes several seconds to match and every file part is matched separately.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | HTTP-Body | < 1.24_01 | 1.24_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.250.0-1.1 | openSUSE-SU-2026:12467-1 |
Advisories 1
- openSUSE-SU-2026:12467-1 perl-HTTP-Body-1.250.0-1.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026