CVE-2026-124302

NameCVE-2026-124302
DescriptionNet::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1155883

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libnet-server-perl (PTS)bookworm2.013-2vulnerable
trixie2.014-1vulnerable
forky, sid2.018-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libnet-server-perlsource(unstable)(unfixed)1155883

Notes

https://lists.security.metacpan.org/cve-announce/msg/45519212/
Fixed by: https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124302-r1.patch

Search for package or bug name: Reporting problems