Skip to content
OpenAdvisories
High · 7.5 CVE-2026-117500 EUVD-2026-112276GHSA-w2gq-c2cx-w9q6

HTTP::Body versions before 1.24_01 for Perl allow CPU exhaustion via regex backtracking on the filename of a multipart upload

Published Oct 28, 2026 · Updated Nov 5, 2026 · Assigned by CPANSec

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libhttp-body-perl No fix yet —
Ubuntu 16.04 LTS libhttp-body-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-HTTP-Body 1.250.0-1.1 openSUSE-SU-2026:12467-1

Advisories 1

References