{"id":"CVE-2026-124290","sourceIdentifier":"9b29abf9-4ab0-4765-b253-1875cd9b441e","published":"2026-11-30T00:17:57.517","lastModified":"2026-12-03T22:17:28.407","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"Net::Server versions through 2.018 for Perl allow CPU exhaustion via a read_until loop that keeps reading after the client disconnects.\n\nread_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.\n\nNet::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."}],"affected":[{"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","affectedData":[{"defaultStatus":"unaffected","collectionURL":"https://cpan.org/modules","packageName":"Net-Server","modules":["Net::Server"],"programFiles":["lib/Net/Server/Proto/TCP.pm","lib/Net/Server/Proto/UNIX.pm","lib/Net/Server/Proto/SSL.pm","lib/Net/Server/INET.pm"],"programRoutines":[{"name":"Net::Server::Proto::TCP::read_until"},{"name":"Net::Server::Proto::UNIX::read_until"},{"name":"Net::Server::Proto::SSL::read_until"},{"name":"Net::Server::INET::read_until"}],"repo":"https://github.com/rhandom/perl-net-server","packageURL":"pkg:cpan/Net-Server","versions":[{"version":"0","lessThanOrEqual":"2.018","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-12-03T21:37:40.534493Z","id":"CVE-2026-124290","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","type":"Secondary","description":[{"lang":"en","value":"CWE-835"}]}],"references":[{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm","source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"},{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/TCP.pm","source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"},{"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124290-r1.patch","source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"}]}