Read the docs

Net::Server::HTTP Content-Length misuse lets one request exhaust worker memory

Priority LOW 23CWE-789Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Denial of service
Confidentiality · integrity · availability
—
Fix status
No fix listed

No CVSS vector from any source. Fix status from CNA. Impact type from CWE-789.

Summary

Net::Server::HTTP for Perl through 2.018 lets a single request abort a worker with an out-of-memory error. The exec_cgi function sizes its read() calls by the client's Content-Length header, so a request declaring a huge length makes Perl allocate an enormous buffer (CWE-789). A client that closes the connection before sending the declared body also makes the loop spin at full CPU until the request times out (CWE-835). Any server that dispatches requests to a CGI script is affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

EPSS 0.0028 13th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Net-Serverup to 2.018—No fix listedCNA
  • Net-Server Vendor— Affected up to 2.018 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Net-Server.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-124296
  2. 2026-11-30 Alias added: GHSA-q94j-6fpq-xr79

References

Sources