Technical impact
Net::Server::HTTP versions up to 2.018 process the HTTP body for CGI scripts by allocating a buffer sized exactly to the client’s Content‑Length header. An attacker can send a request with an absurdly large length, causing the server to attempt to allocate that memory and ultimately fail, aborting the worker. The server then cannot serve any further requests from that worker, effectively denying service to normal traffic. Additionally, if the client prematurely closes the connection before sending the full body, the server’s read loop erroneously treats the un‑consumed length as constant, spinning at full CPU usage until a timeout occurs. The vulnerability is a memory allocation error (CWE‑789) combined with a resource exhaustion loop (CWE‑835).
Affected Systems
Any deployment that uses Net::Server::HTTP version 2.018 or earlier in a Perl web environment is affected. This includes generic Perl HTTP servers that forward requests to CGI executables—whether the CGI target is another script or arbitrary binary executable. No newer release of Net::Server::HTTP has been cited as fixed in this advisory.
Risk and Exploitability
The exposure is remote: an attacker who can send HTTP requests to the affected server can trigger the out‑of‑memory abort or CPU‑hungry loop. Although EPSS is not reported and the vulnerability is not listed in CISA KEV, the severity of the denial of service and the ease of triggering it suggest a high risk profile for systems exposed to untrusted network traffic. The exploit requires only the ability to insert a custom Content‑Length header and to optionally close the socket early—both trivial with standard HTTP tools. There are no known code‑execution or privilege‑escalation paths, but the impact on availability makes it a serious issue for production web services.