Description
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.
Weaknesses
- CWE-415 — CWE-415 Double Free
Affected products
| Vendor | Product | Versions |
|---|---|---|
| — | — | 0 to <=2.018 [affected] |
References
- https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/SSLEAY.pm (technical-description)
- https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PSGI.pm (technical-description)
- https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124302-r1.patch (patch)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 30 Nov 2026 08:04 UTC.