CVE-2026-124296
NVD
Vulnerability Summary
Net::Server::HTTP versions through 2.018 for Perl allow a single request to abort a worker with out-of-memory via the client's Content-Length used as a read size in exec_cgi.
exec_cgi forwards the request body to the CGI script with read() calls sized by the Content-Length header. Perl grows the buffer to that size before reading, so a request declaring a huge length aborts the worker with an out-of-memory error that no eval can catch.
The same loop never treats a 0 return from read() as end of input. When the client closes its side before sending the declared body, the remaining length stays unchanged and the loop spins at full CPU until the request times out.
Any server that dispatches requests to a CGI script, including an app target given as an executable, is affected.
exec_cgi forwards the request body to the CGI script with read() calls sized by the Content-Length header. Perl grows the buffer to that size before reading, so a request declaring a huge length aborts the worker with an out-of-memory error that no eval can catch.
The same loop never treats a 0 return from read() as end of input. When the client closes its side before sending the declared body, the remaining length stays unchanged and the loop spins at full CPU until the request times out.
Any server that dispatches requests to a CGI script, including an app target given as an executable, is affected.
Affected & Patched Versions
Not provided by NVD for this CVE.
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run the affected product and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Nov 30, 2026Published
- Nov 30, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get alerts for CVEs like this oneYou are reading CVE-2026-124296. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 30, 2026 08:12 UTC