Technical impact
CGI.pm before version 5.00 can enter an endless loop when a request body shorter than its declared Content-Length arrives while the $DISABLE_UPLOADS flag is enabled. The code that reads the body keeps reading until the expected number of bytes is reached; because the actual body ends early, each subsequent read returns zero and the loop never concludes. This leads to forced consumption of CPU and memory resources, effectively causing the CGI process to hang and preventing it from servicing additional requests.
Affected Systems
The flaw exists in the Perl CGI module, CGI.pm, distributed by CPAN. All releases prior to 5.00 are vulnerable; versions 5.00 and later include the fix that removes the unbounded loop.
Risk and Exploitability
The vulnerability has a CVSS score of 7.5, indicating a high severity assessment. No EPSS value is provided, and the issue is not listed in the CISA KEV catalog. The description suggests the attack vector could be an HTTP POST request to a CGI script that has $DISABLE_UPLOADS enabled, but the exact conditions required to trigger the loop are inferred from the code behavior rather than explicitly stated. Thus, while a public exploit is not documented, an attacker who can send crafted short‑body requests could sustain a denial‑of‑service condition on affected servers.