CVE-2026-124302
Net::Server::Proto::SSLEAY versions through 2.018 for Perl free the TLS session twice when a client socket is closed a second time, as a PSGI streaming response does
- Severity
- medium CVSS 6.5 (v3.1)
- Weakness
- CWE-415 Double Free
- Published
- 29 November 2026 by CPANSec
- First seen on our lists
- 29 November 2026
Net::Server::Proto::SSLEAY versions through 2.018 for Perl free the TLS session twice when a client socket is closed a second time, as a PSGI streaming response does.
close frees the session handle stored on the client socket but leaves the stale pointer in place, so a second close shuts down and frees it again. Net::Server::PSGI hands the client socket to the application as the streaming writer. Closing the writer, as the PSGI specification asks, is the first close, and the server closes the client again after the request.
A remote client that requests a streaming endpoint of a PSGI server on proto ssleay corrupts the heap of the server process, which then crashes. A Single server stops.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] Net-Server versions through 2.018 for Perl (18 CVEs)