Skip to content
OpenAdvisories
High · 7.5 CVE-2026-116285 EUVD-2026-112274GHSA-q6fp-395r-83jv

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

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

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.

Affected products

VendorProductAffectedFixed
— HTTP-Body < 1.23_01 1.23_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.240.0-1.1 openSUSE-SU-2026:12346-1

Advisories 1

References