# CVE-2026-116285: HTTP::Body versions before 1.23_01 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-10-28T17:16:16.997Z
- Modified: 2026-11-05T21:18:39.323Z
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- HTTP-Body: before 1.23_01

## References

- <https://github.com/libwww-perl/HTTP-Body/commit/954a5343d2a095b59d357f28759c5388d1169574.patch> (patch)
- <https://metacpan.org/release/GETTY/HTTP-Body-1.24/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-116285](https://www.cve.org/CVERecord?id=CVE-2026-116285), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-116285](https://nvd.nist.gov/vuln/detail/CVE-2026-116285), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-116285 · Whole record: https://cve.day/CVE-2026-116285.json · Rebuilt by cve.day 2026-11-25T22:59:47.656Z
