Quadratic regex backtracking in HTTP::Body for Perl enables CPU exhaustion
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | HTTP-Body | before 1.23_01 | 1.23_01 | Patch available | CNA |
- 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
Timeline
- 2026-10-28 Threatist record created from CVE-2026-116285
- 2026-10-28 Alias added: GHSA-q6fp-395r-83jv
- 2026-10-29 Affected versions changed · Red Hat
- 2026-10-29 CVSS score added · Red Hat
- 2026-11-05 CVSS score added · CISA ADP
- 2026-11-05 CISA SSVC decision points changed
References
Sources
- CVE-2026-116285 · CVE Program
- CVE-2026-116285 · NVD
- FIRST EPSS
- GHSA-q6fp-395r-83jv · GitHub Advisory Database · CC BY 4.0
- CVE-2026-116285 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences