Read the docs

Quadratic regex backtracking in HTTP::Body for Perl enables CPU exhaustion

Priority LOW 39CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-1333.

Summary

HTTP::Body for Perl, versions before 1.23_01, allows CPU exhaustion through 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 a regular expression (CWE-1333), and a long line of hex digits without a carriage return before its first line feed makes the match take time quadratic in the line length. A remote attacker can exhaust CPU in applications that pass chunked request bodies to HTTP::Body, and nothing limits how long the line can be.

Written with Claude Haiku 5.5 from the sources below · 2026-11-05

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00385 32nd percentileScored 2026-11-07
Fix Fixed HTTP-Body: 1.23_01

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—HTTP-Bodybefore 1.23_011.23_01Patch availableCNA
  • HTTP-Body Vendor— Affected before 1.23_01 Fixed in 1.23_01 Patch available CNA

Remediation

Update HTTP-Body to version 1.23_01 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-05

  • Fix · CNA HTTP-Body Fixed in 1.23_01

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-28 Threatist record created from CVE-2026-116285
  2. 2026-10-28 Alias added: GHSA-q6fp-395r-83jv
  3. 2026-10-29 Affected versions changed · Red Hat
  4. 2026-10-29 CVSS score added · Red Hat
  5. 2026-11-05 CVSS score added · CISA ADP
  6. 2026-11-05 CISA SSVC decision points changed

References

Sources