Description
HTTP::Body versions before 1.23_01 for Perl leave the temporary file of an incomplete multipart upload on disk.

The multipart parser creates a temporary file as soon as a file part starts, but adds it to the upload list only when the part completes. Uploads are only ever deleted from that list, by the cleanup option or by the caller, so a body that ends inside a file part leaves its temporary file where nothing can find it.

A remote attacker can fill the temporary directory by repeating such requests, leaving one file behind for each.
Published: 2026-10-28
Score: n/a
EPSS: n/a
KEV: No
Impact: Resource Exhaustion via Persistent Temporary Files
Action: Patch
AI Analysis

Impact

The vulnerability arises when the Perl HTTP::Body module creates a temporary file on disk to store a file part of a multipart upload but only registers that file with the upload list once the part completes. If the upload terminates while the file part is still incomplete, the temporary file remains orphaned; an attacker can repeat this process to create many such files. This leads to denial of service through disk space exhaustion and could unintentionally expose partial file data to anyone with access to the host’s temporary directory. The weakness is listed as CWE-459, indicating an improper omission of cleanup operations.

Affected Systems

All installations of Perl that include HTTP::Body versions older than 1.23_01 are affected, regardless of the host operating system. The temp files are written to the system’s default temporary directory, which is typically world-readable on many platforms, meaning the orphaned files can be discovered by privileged or unprivileged users alike.

Risk and Exploitability

Because the flaw can be triggered by any remote multipart upload request, an attacker needs only network access to the target application. The exploit is straightforward: send a multipart request that ends mid-file and repeat until the temporary directory fills. The EPSS score is not available, and the vulnerability is not in the CISA KEV catalog; however, the CVSS assessment is likely high given the potential for widespread service disruption. The lack of an automatic cleanup or caller cleanup action makes the attack viable even on systems with standard mitigations.

Generated by OpenCVE AI on October 28, 2026 at 18:27 UTC.

Remediation

Vendor Solution

Upgrade to HTTP-Body 1.23_01 or later.


OpenCVE Recommended Actions

  • Upgrade the HTTP::Body Perl module to version 1.23_01 or later to resolve the cleanup defect.
  • Configure the application to invoke the provided cleanup routine after each multipart upload, ensuring no orphaned temporary files remain.
  • Set administrative limits or quotas on the system’s temporary directory to prevent uncontrolled growth, and schedule regular scans or cleanup scripts to remove any residual files.
  • If upgrading is not immediately possible, consider redirecting the temporary directory to a dedicated, monitored storage area and applying strict access controls to mitigate accidental data exposure.

Generated by OpenCVE AI on October 28, 2026 at 18:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Description HTTP::Body versions before 1.23_01 for Perl leave the temporary file of an incomplete multipart upload on disk. The multipart parser creates a temporary file as soon as a file part starts, but adds it to the upload list only when the part completes. Uploads are only ever deleted from that list, by the cleanup option or by the caller, so a body that ends inside a file part leaves its temporary file where nothing can find it. A remote attacker can fill the temporary directory by repeating such requests, leaving one file behind for each.
Title HTTP::Body versions before 1.23_01 for Perl leave the temporary file of an incomplete multipart upload on disk
Weaknesses CWE-459
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-28T17:15:00.711Z

Reserved: 2026-10-25T11:14:04.979Z

Link: CVE-2026-116132

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T18:17:12.347

Modified: 2026-10-28T18:17:12.347

Link: CVE-2026-116132

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T18:30:15Z

Weaknesses