CPANSA-HTTP-Body-2026-116285: HTTP-Body vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-10-28T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-10-28T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-116285
Vulnerability DescriptionHTTP::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.
| Weakness | CWE-1333 : Inefficient Regular Expression Complexity |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| HTTP-Body less than 1.23_01 |
|
Fixed
- HTTP-Body greater than or equal 1.23_01
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-HTTP-Body-2026-116285 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-http-body-2026-116285.json - https://github.com/libwww-perl/HTTP-Body/commit/954a5343d2a095b59d357f28759c5388d1169574.patch external
https://github.com/libwww-perl/HTTP-Body/commit/954a5343d2a095b59d357f28759c5388d1169574.patch - https://metacpan.org/release/GETTY/HTTP-Body-1.24/changes external
https://metacpan.org/release/GETTY/HTTP-Body-1.24/changes - CVE-2026-116285 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-116285
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed Oct 28 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/