CVE-2026-117500

HTTP::Body versions before 1.24_01 for Perl allow CPU exhaustion via regex backtracking on the filename of a multipart upload

Published Oct 28, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
HTTP::Body versions before 1.24_01 for Perl allow CPU exhaustion via regex backtracking on the filename of a multipart upload.

For every file part, the multipart parser finds the suffix of the uploaded filename by matching the default $basename_regexp, qr/[^.]+(\.[^\\\/]+)$/, against the whole basename. A basename made of many dots and ending in a backslash makes the regex backtrack in time quadratic in its length.

A remote attacker can exhaust CPU with one request, as a basename of about 32 KB takes several seconds to match and every file part is matched separately.

Analysis

AI-generated

Technical impact

HTTP::Body modules before version 1.24_01 use a regular expression that parses the filename in multipart uploads. When the filename contains many dots and ends with a backslash, the regex backtracks exponentially, consuming CPU time. The result is a denial‑of‑service condition that can be triggered by a single HTTP request and can stop a Perl application from processing further traffic.

Affected Systems

Perl applications that depend on the HTTP::Body module, specifically all versions earlier than 1.24_01. This includes any software that handles multipart/form-data uploads and uses the libwww‑perl distribution for HTTP parsing.

Risk and Exploitability

A remote attacker can exploit the flaw by sending a crafted multipart request targeting the filename parsing routine. No authentication is required, making the attack vector straightforward through an exposed HTTP endpoint. The CVSS score of 7.5 indicates a high severity, while the EPSS score of less than 1% suggests a low probability of exploitation. The vulnerability is not listed in CISA KEV. Nonetheless, the nature of the flaw means that an attacker could rapidly exhaust server CPU resources, leading to a service interruption.

Remediation

Vendor Solution

Upgrade to HTTP-Body 1.24_01 or later.


OpenCVE Recommended Actions

  • Upgrade HTTP::Body to version 1.24_01 or later
  • In applications that cannot immediately upgrade, disable or limit the size of multipart uploads and reject filenames that contain excessive periods or trailing backslashes
  • Deploy application‑level traffic monitoring to detect anomalous CPU spikes associated with larger multipart requests

Generated by OpenCVE AI on November 5, 2026 at 22:27 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
Metrics cvssV3_1

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

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'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

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.24_01 for Perl allow CPU exhaustion via regex backtracking on the filename of a multipart upload. For every file part, the multipart parser finds the suffix of the uploaded filename by matching the default $basename_regexp, qr/[^.]+(\.[^\\\/]+)$/, against the whole basename. A basename made of many dots and ending in a backslash makes the regex backtrack in time quadratic in its length. A remote attacker can exhaust CPU with one request, as a basename of about 32 KB takes several seconds to match and every file part is matched separately.
Title HTTP::Body versions before 1.24_01 for Perl allow CPU exhaustion via regex backtracking on the filename of a multipart upload
Weaknesses CWE-1333
References
Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 5, 2026, 9:03 PM
Reserved
Oct 27, 2026, 8:44 AM
Status
Awaiting Analysis
Published
Oct 28, 2026, 6:17 PM
Modified
Nov 5, 2026, 9:18 PM
Severity
Moderate
Public date
Oct 28, 2026, 5:17 PM