Skip to content
Unrated

HTTP::Body versions before 1.23_01 for Perl allow CPU exhaustion via quadratic regex backtracking...

CVE-2026-116285 First seen on SecPulse

Affected packages

EcosystemPackageAffectedFixed
https://cpan.org/modules HTTP-Body
< 1.23_01
1.23_01
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details