CVE-2026-117500

NameCVE-2026-117500
DescriptionHTTP::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1152485

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libhttp-body-perl (PTS)bookworm1.22-2vulnerable
trixie1.23-1vulnerable
forky, sid1.25-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libhttp-body-perlsource(unstable)1.24.01-11152485

Notes

https://lists.security.metacpan.org/cve-announce/msg/44711935/
Fixed by: https://github.com/libwww-perl/HTTP-Body/commit/9ab46daaede02fb13ea55a7e3ede34c8b918d8ca
Fixed by: https://github.com/libwww-perl/HTTP-Body/commit/3abc958d78bd84bf4abb87bad79b9432eab7e694

Search for package or bug name: Reporting problems