Skip to content

CVE-2026-116285 HTTP::Body versions before 1.23_01 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies

HighCVSS 7.5 EPSS 0.39%
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.23_01 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies.

In chunked mode, used when no content length is given, add() matches each chunk-size line with /^([\da-fA-F]+).*\x0D\x0A/. On a line of hex digits whose first LF has no CR before it, the digits and .* backtrack against each other, so a single add() takes time quadratic in the line's length. Nothing limits how long the line can be.

A remote attacker can exhaust CPU in applications that pass chunked request bodies to HTTP::Body.

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.23_01 1.23_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.23_01 1.23_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