CVE-2026-124290
MEDIUM 5.9CVSS 3.1Net::Server versions through 2.018 for Perl allow CPU exhaustion via a read_until loop that keeps reading after the client disconnects
Net::Server versions through 2.018 for Perl allow CPU exhaustion via a read_until loop that keeps reading after the client disconnects.
read_until reads one byte per iteration and leaves the loop only once it has the requested number of bytes or a match for the end pattern. Nothing checks the return value of read(), so once the peer has closed the connection every read returns 0 and the loop spins at full CPU. The TCP, UNIX and SSL protocol classes and Net::Server::INET share this loop. The SSLEAY protocol class is not affected.
Net::Server::HTTP reads every request header through read_until, so a client that connects and closes before ending its headers holds a worker at full CPU until timeout_header (15 seconds by default) fires. A stream of such short-lived connections keeps every worker busy. Other callers of read_until without their own timeout spin indefinitely.
- Published
- 30 Nov 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- NVD status
- Awaiting Analysis
- Weakness
- CWE-835
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://cpan.org/modules | Net-Server | <= 2.018 |
References
- https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm · technical-description
- https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/TCP.pm · technical-description
- https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124290-r1.patch · patch
History
- 3 Dec 2026 23:56 UTC · NVD: scored 5.9
- 3 Dec 2026 21:56 UTC · CVE List: scored 5.9
- 2 Dec 2026 19:17 UTC · NVD: status Received → Awaiting Analysis
- 30 Nov 2026 00:41 UTC · NVD: first stored (published 30 Nov 2026)
- 29 Nov 2026 23:46 UTC · CVE List: first stored (published 29 Nov 2026)