CVE-2026-120650

CGI versions before 5.00 for Perl allow memory, CPU and disk exhaustion via missing or unenforced request size, parameter and upload limits

Published Nov 3, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
CGI versions before 5.00 for Perl allow memory, CPU and disk exhaustion via missing or unenforced request size, parameter and upload limits.

$CGI::POST_MAX defaults to no limit, and when set is not enforced for chunked multipart bodies or for the boundary line of a multipart body without a boundary= parameter. Bodies saved as PUTDATA, POSTDATA or PATCHDATA uploads are read into memory in one go, and nothing limits the number of parameters or uploads.

Analysis

AI-generated

Technical impact

CGI.pm, a Perl module used by many web applications, contains a flaw in versions prior to 5.00 that allows attackers to exhaust memory, CPU and disk space. The flaw stems from missing or unenforced limits on request size, the number of parameters, and upload volumes, including failures to enforce $CGI::POST_MAX for chunked multipart bodies or for multipart bodies lacking a boundary= parameter. This uncontrolled resource consumption can cause the application to become unresponsive or crash, representing a classic denial‑of‑service scenario based on CWE‑770.

Affected Systems

Any installation of the Perl CGI module CGI.pm whose version is earlier than 5.00, typically included in legacy Perl web applications that rely on CGI for handling HTTP requests. The module is distributed under the LEEJO/CGI namespace on CPAN, and affected versions include the full range of releases that precede 5.00.

Risk and Exploitability

Based on the description, the vulnerability can be triggered remotely by sending large or strategically crafted HTTP requests to a CGI script. The CVSS score of 6.5 indicates a moderate severity of the denial‑of‑service vulnerability, and the EPSS score of 0.00185 indicates a very low chance of exploitation. The lack of enforcement of request limits suggests a high potential for denial‑of‑service attacks. The issue is not listed in the CISA KEV catalog, and no public exploit has been documented; however, the extensibility and widespread use of CGI.pm make it a likely target for attackers seeking to impact service availability.

Remediation

Vendor Solution

Upgrade to CGI 5.00 or later.


Vendor Workaround

For deployments that cannot upgrade, limit the request body size at the web server and set $CGI::POST_MAX.


OpenCVE Recommended Actions

  • Upgrade the CGI.pm Perl module to version 5.00 or later
  • Configure the web server to enforce a maximum request body size and set $CGI::POST_MAX appropriately
  • Add application‑level checks to reject requests that exceed expected parameter counts or upload sizes, ensuring multipart boundaries and chunked uploads are validated against defined limits

Generated by OpenCVE AI on November 9, 2026 at 22:59 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
Description CGI versions before 5.00 for Perl allow memory, CPU and disk exhaustion via missing or unenforced request size, parameter and upload limits. $CGI::POST_MAX defaults to no limit, and when set is not enforced for chunked multipart bodies or for the boundary line of a multipart body without a boundary= parameter. Bodies saved as PUTDATA, POSTDATA or PATCHDATA uploads are read into memory in one go, and nothing limits the number of parameters or uploads.
Title CGI versions before 5.00 for Perl allow memory, CPU and disk exhaustion via missing or unenforced request size, parameter and upload limits
Weaknesses CWE-770
References

Subscriptions

No data.

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 9, 2026, 6:45 PM
Reserved
Nov 2, 2026, 5:58 PM
Status
Deferred
Published
Nov 4, 2026, 12:17 AM
Modified
Nov 9, 2026, 7:16 PM
Severity
Important
Public date
Nov 3, 2026, 11:41 PM