Summary
CPANSec published CVE-2026-124296 on 29 November 2026 for Net::Server::HTTP in the Perl Net::Server framework through version 2.018. The record explains that exec_cgi passes the request body to a CGI script using read calls sized by the client's Content-Length header. Because Perl grows its buffer to the requested size first, a request claiming an enormous length makes the worker abort with an out-of-memory error that cannot be caught. The loop also ignores a zero return from read, so if the client disconnects before sending the promised body, it keeps spinning at full CPU until timeout. Every server dispatching to a CGI script is exposed. It is classed as CWE-789 and CWE-835, and a patch is listed.
Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

SecSIG