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
·
Updated

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

$CGI::POSTMAX 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.

Affected Software

4 affected components
debian/libcgi-pm-perl*
debian/libcgi-pm-perl*
debian/libcgi-pm-perl*
debian/libcgi-pm-perl<=4.55-1, <=4.68-1, <=4.72-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade CGI for Perl to a version that resolves this vulnerability.

    Fixed in 5.00

Event History

Nov 3, 2026
CVE Published
via MITRE·11:41 PM
Data Sourced
via MITRE·11:41 PM
RemedyDescriptionWeakness
Nov 4, 2026
Data Sourced
via NVD·12:17 AM
DescriptionWeakness
Data Sourced
via OSV·12:17 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which deployments are exposed by the default configuration?

Applications using CGI for Perl before 5.00 are exposed if they accept request bodies, because $CGI::POST_MAX defaults to no limit. Multipart handling also has no stated limit on the number of parameters or uploads.

2

What does an attacker need to do to trigger resource exhaustion?

An attacker needs to send requests with oversized bodies, excessive parameters or uploads, or multipart bodies that bypass configured $CGI::POST_MAX enforcement. Chunked multipart bodies and the boundary line of a multipart body lacking a boundary= parameter are specifically identified as bypass cases.

3

Why can PUTDATA, POSTDATA, and PATCHDATA handling be especially risky?

Bodies saved as PUTDATA, POSTDATA, or PATCHDATA uploads are read into memory in one operation. A sufficiently large request body can therefore consume memory directly, in addition to CPU and disk resources.

4

What version resolves the described limit-enforcement issues?

The issue affects CGI versions before 5.00 for Perl, so version 5.00 is the first version not described as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203