Technical impact
HTTP::Body versions prior to 1.23_01 contain a regular expression that can trigger quadratic backtracking when parsing the size line of a chunked HTTP request body. The pattern matches each chunk-size line with a loop over hexadecimal digits followed by any characters and a CRLF. When the first line feed occurs without a preceding carriage return, the hexadecimal digits and the wildcard alternately backtrack, causing the time required to grow proportionally to the square of the line length. This results in a denial of service through sustained CPU exhaustion, as the library performs the search for each add() call. The weakness is classified as a resource exhaustion flaw.
Affected Systems
The affected product is the HTTP::Body Perl CPAN module prior to the 1.23_01 release. Any Perl application that passes raw HTTP request bodies through this module, especially in chunked transfer mode where the Content-Length header is absent, is vulnerable. No vendor is specified beyond the CPAN project, and the vulnerability applies to all major Perl installations that rely on this library for HTTP request parsing.
Risk and Exploitability
The CVSS score is 7.5, the EPSS score is less than 1%, and it is not listed in the CISA KEV catalog. The weakness is a resource exhaustion flaw that can be triggered remotely when an attacker sends HTTP requests containing a chunked body with an unusually long chunk-size line lacking the required carriage return before the line feed. The library then performs the expensive pattern matching, consuming CPU resources. This remote attack vector is straightforward, making the risk of service disruption significant if the vulnerable module is in use.