CVE-2026-116285

NameCVE-2026-116285
DescriptionHTTP::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.
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/44711941/
Fixed by: https://github.com/libwww-perl/HTTP-Body/commit/954a5343d2a095b59d357f28759c5388d1169574 (v1.24)

Search for package or bug name: Reporting problems