Skip to main content
← All vulnerabilities
CVE-2026-116285EUVD-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
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.23_01
None on Exploit-DB, Metasploit or GitHub

Summary

HTTP::Body for Perl, before version 1.23_01, is affected. A remote attacker can send a chunked request body with a specially crafted chunk-size line, causing the parser to consume excessive CPU time and potentially slow down or hang applications that process such requests.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • HTTP-Body

    fixed in 1.23_01

References 2

GitHub · libwww-perl/HTTP-Body

metacpan.org