CVE-2026-124296
publishedNet::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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Net-Server0 through 2.018 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Net-Server | 0 through 2.018 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-789 CWE-789 Memory Allocation with Excessive Size Value
- CWE-835 CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
2Provider assertions
1CPANSec · 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
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7da1473bfb64801207bbbc28ebf6db7cc4b042b1380d1c7b599f889290bebf7c
- Ingested
- 29 Nov 2026, 23:31:46 UTC
- Source record
- Official CVE record