CVE-2026-120650
Deferred Deferred - Pending Action

Resource Exhaustion in Perl CGI Versions Prior to 5.00

Vulnerability report for CVE-2026-120650, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-04

Last updated on: 2026-11-04

Assigner: CPANSec

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-04
Last Modified
2026-11-04
Generated
2026-11-08
AI Q&A
2026-11-04
EPSS Evaluated
2026-11-06
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
leejo cgi to 5.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-120650 is a vulnerability in Perl's CGI.pm module that allows memory, CPU, and disk exhaustion attacks. It occurs because the module lacks or fails to enforce limits on request size, parameters, and uploads. Attackers can send large or numerous requests to consume excessive server resources, causing denial-of-service conditions.

Detection Guidance

To detect this vulnerability, monitor for unusual memory or CPU usage spikes during CGI script processing. Check for excessive parameter counts or large uploads in web server logs. Use tools like netstat or ss to inspect active connections and payload sizes.

Impact Analysis
  • Memory exhaustion: Large requests consume server RAM.
  • CPU overload: Parsing millions of parameters or files slows down the server.
  • Disk exhaustion: Uploaded files or temporary data fill storage.
  • Service disruption: Servers may crash or become unresponsive.
Compliance Impact

This vulnerability can lead to service outages or data corruption, violating availability requirements in GDPR (Article 32) and HIPAA (Security Rule). Downtime may also hinder incident response and data access, potentially breaching compliance obligations.

Mitigation Strategies
  • Update CGI.pm to version 5.00 or later to apply all security patches.
  • Set $CGI::POST_MAX to a reasonable limit (e.g., 128MB) to prevent memory exhaustion.
  • Configure $CGI::MAX_PARAMS (default 10,000) and $CGI::MAX_UPLOADS (default 1,000) to restrict request sizes.
  • Review and enforce boundary limits in multipart requests to prevent unbounded reads.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-120650. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...