CVE-2026-116131

HTTP::Body versions before 1.23_01 for Perl allow memory and temporary file exhaustion via an unlimited number of form fields and multipart parts

Published Oct 28, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
HTTP::Body versions before 1.23_01 for Perl allow memory and temporary file exhaustion via an unlimited number of form fields and multipart parts.

The urlencoded parser splits the whole body on its separators at once, creating one scalar per separator before any field is stored. This costs about 90 bytes of memory per separator byte. The multipart parser creates a temporary file for every part that carries a filename. Neither parser limits how many fields or parts a body may hold.

A remote attacker can exhaust worker memory with a body made of separators, or create thousands of temporary files with one request of small file parts.

Analysis

AI-generated

Technical impact

The vulnerability exists in Perl's HTTP::Body library for versions prior to 1.23_01. The URL‑encoded parser splits the entire body on its separators at once, allocating about 90 bytes of memory per separator. The multipart parser creates a temporary file for every part that carries a filename. Neither parser enforces limits on the number of fields or multipart parts, so an attacker can craft a request containing an unlimited number of separators or file parts, exhausting server memory or disk space and causing a denial of service.

Affected Systems

Any application that depends on HTTP::Body—such as Perl web frameworks, CGI scripts, or other services that parse HTTP request bodies—is affected when it uses a version older than 1.23_01. Updating to 1.23_01 or newer eliminates the flaw.

Risk and Exploitability

A remote attacker can trigger the flaw by sending an HTTP request with a body that includes many separators in a URL‑encoded form or thousands of multipart parts with filenames. The description states that this can exhaust worker memory or generate thousands of temporary files. No authentication requirements are mentioned, indicating that the attack can be performed against any reachable application that parses HTTP bodies. The CVSS score of 6.5 indicates a medium severity, and the EPSS score is < 1% while the vulnerability is not listed in CISA's KEV catalog. The potential for rapid resource exhaustion means that the risk to availability is substantial.

Remediation

Vendor Solution

Upgrade to HTTP-Body 1.23_01 or later.


OpenCVE Recommended Actions

  • Upgrade the HTTP::Body module to version 1.23_01 or newer.
  • If a quick upgrade is not possible, configure the application or web server to limit the number of form fields and multipart parts that are processed and impose a maximum size for temporary files.
  • Monitor application memory usage and disk space for abnormal spikes, and set alerts to detect potential exhaustion attacks.

Generated by OpenCVE AI on November 5, 2026 at 21:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Metrics 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'}

cvssV3_1

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

Type Values Removed Values Added
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 memory and temporary file exhaustion via an unlimited number of form fields and multipart parts. The urlencoded parser splits the whole body on its separators at once, creating one scalar per separator before any field is stored. This costs about 90 bytes of memory per separator byte. The multipart parser creates a temporary file for every part that carries a filename. Neither parser limits how many fields or parts a body may hold. A remote attacker can exhaust worker memory with a body made of separators, or create thousands of temporary files with one request of small file parts.
Title HTTP::Body versions before 1.23_01 for Perl allow memory and temporary file exhaustion via an unlimited number of form fields and multipart parts
Weaknesses CWE-770
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 5, 2026, 7:30 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:14 PM