CVE-2026-116133

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

Published Oct 28, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is present in HTTP::Body versions before 1.23_01 for Perl. Older releases perform a quadratic rescanning of the entire body whenever a boundary is missing or malformed. A multipart body with no boundary or with a delimiter that is not followed by CRLF or the closing – forces the parser to rescan the full buffered data for every new chunk, causing the CPU time required by the request to grow proportionally to the square of the number of chunks processed. The result is a denial‑of‑service through CPU exhaustion. The weakness is classified as CWE‑407: Excessive Computation and CWE‑770: Uncontrolled Resource Consumption.

Affected Systems

The affected software is the HTTP::Body module for Perl. Any installation running a version earlier than 1.23_01 (including 1.22 and lower) is vulnerable. Systems that use this module to handle multipart/form‑data uploads are at risk, such as web applications or services that process file uploads.

Risk and Exploitability

Based on the description, the likely attack vector is a remote attacker sending crafted multipart/form‑data requests that omit a valid boundary or format the boundary incorrectly. The attack does not require local access or privilege escalation and can be performed over the network by repeatedly sending such requests. The impact is high if successful because worker CPUs are exhausted, potentially denying service to legitimate users. The CVSS base score of 7.5 indicates high severity, while the EPSS score of less than 1% suggests a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog, so the attack likelihood is unknown. However, the large potential impact and the ability to deliver the payload over standard HTTP make this a moderate‑to‑high risk for exposed endpoints that accept multipart uploads.

Remediation

Vendor Solution

Upgrade to HTTP-Body 1.23_01 or later.


OpenCVE Recommended Actions

  • Upgrade HTTP::Body to version 1.23_01 or newer to remove the quadratic rescanning bug.
  • Validate multipart boundaries before passing the body to the parser, rejecting requests that lack a proper boundary or contain an invalid delimiter.
  • Enforce rate limiting or connection throttling on endpoints that accept multipart uploads to reduce the impact of a potential CPU‑exhaustion attempt.

Generated by OpenCVE AI on October 31, 2026 at 01:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Libwww-perl
Libwww-perl http-body
Vendors & Products Libwww-perl
Libwww-perl http-body
Type Values Removed Values Added
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.
Title 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
Weaknesses CWE-407
References
Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 5, 2026, 8:08 PM
Reserved
Oct 25, 2026, 11:14 AM
Status
Awaiting Analysis
Published
Oct 28, 2026, 6:17 PM
Modified
Nov 5, 2026, 8:17 PM
Severity
Important
Public date
Oct 28, 2026, 5:15 PM