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

Published Nov 29, 2026
·
Updated

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.

Affected Software

1 affected component
cpan/net-server<=2.018

Event History

Nov 29, 2026
CVE Published
via MITRE·11:33 PM
Data Sourced
via MITRE·11:33 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Affected deployments use Net::Server::PSGI with the ssleay protocol and serve PSGI streaming responses over TLS. A Single server can stop after the server process crashes.

2

What must an attacker be able to do to trigger the failure?

The attacker needs to make a request to a streaming endpoint on an affected PSGI server using the ssleay protocol. The streaming writer is closed first, followed by the server closing the client connection again.

3

How can I determine whether my service is affected?

Check whether it uses cpan/net-server through version 2.018, Net::Server::PSGI, and Net::Server::Proto::SSLEAY. Services that do not expose streaming PSGI endpoints do not match the described trigger path.

4

What can be done if an affected version is deployed?

A patch for Net-Server 2.018 is referenced in the advisory data. Until it is applied, reducing or disabling access to streaming PSGI endpoints over the ssleay protocol removes the described remote trigger path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203