Skip to content

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

HighCVSS 7.5 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/libhttp-body-perl(Debian 12) = 1.22-2; = 1.23-1; = 1.24.01-1; All versions No fix listed No fix yet
debian/libhttp-body-perl(Debian 13) = 1.23-1; = 1.24.01-1; All versions No fix listed No fix yet
ubuntu/libhttp-body-perl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libhttp-body-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libhttp-body-perl(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libhttp-body-perl(Ubuntu 26.10) All versions No fix listed No fix yet
cpan HTTP-Body < 1.24_01 1.24_01 Fixed
debian/libhttp-body-perl(Debian 14) < 1.24.01-1; = 1.23-1 1.24.01-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan HTTP-Body < 1.24_01 1.24_01
debian/libhttp-body-perl(Debian:12) All versions No fix listed
debian/libhttp-body-perl(Debian:12) = 1.22-2 No fix listed
debian/libhttp-body-perl(Debian:12) = 1.23-1 No fix listed
debian/libhttp-body-perl(Debian:12) = 1.24.01-1 No fix listed
debian/libhttp-body-perl(Debian:13) All versions No fix listed
debian/libhttp-body-perl(Debian:13) = 1.23-1 No fix listed
debian/libhttp-body-perl(Debian:13) = 1.24.01-1 No fix listed
debian/libhttp-body-perl(Debian:14) < 1.24.01-1 1.24.01-1
debian/libhttp-body-perl(Debian:14) = 1.23-1 No fix listed
ubuntu/libhttp-body-perl(Ubuntu:22.04) All versions No fix listed
ubuntu/libhttp-body-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libhttp-body-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libhttp-body-perl(Ubuntu:26.10) All versions No fix listed

References