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.
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.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No fixed release is available. Apply the patch. For deployments that cannot apply the patch, terminate TLS in a reverse proxy and run the server on proto tcp.
References
History
Sun, 29 Nov 2026 23:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | 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 | |
| Weaknesses | CWE-415 | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-29T23:33:34.526Z
Reserved: 2026-11-07T12:00:45.238Z
Link: CVE-2026-124302
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses