CPANSA-HTTP-Body-2026-116133: 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 rescanning of a multipart body with a missing or malformed boundary.

Before the first part, and between parts, the multipart parser searches the whole buffered body for the next boundary. On a miss it keeps everything and searches again from the start when the next chunk arrives. A body with no boundary, or with a delimiter followed by neither CRLF nor "--", is therefore rescanned on every chunk, taking time quadratic in its size.

A remote attacker can exhaust worker CPU with a few such requests.

Vulnerabilities

CVE-2026-116133

Vulnerability Description

HTTP::Body versions before 1.23_01 for Perl allow CPU exhaustion via quadratic rescanning of a multipart body with a missing or malformed boundary.

Before the first part, and between parts, the multipart parser searches the whole buffered body for the next boundary. On a miss it keeps everything and searches again from the start when the next chunk arrives. A body with no boundary, or with a delimiter followed by neither CRLF nor "--", is therefore rescanned on every chunk, taking time quadratic in its size.

A remote attacker can exhaust worker CPU with a few such requests.

Weakness CWE-407 : Inefficient Algorithmic Complexity

Product status

Known affected
Product Score
HTTP-Body less than 1.23_01
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

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/