{"api_version":"1","generated_at":"2026-11-30T01:20:04+00:00","cve":"CVE-2026-124302","urls":{"html":"https://cve.report/CVE-2026-124302","api":"https://cve.report/api/cve/CVE-2026-124302.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-124302","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-124302"},"summary":{"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","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.\n\nclose 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.\n\nA 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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-30 00:17:58","updated_at":"2026-11-30 00:17:58"},"problem_types":["CWE-415","CWE-415 CWE-415 Double Free"],"metrics":[],"references":[{"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124302-r1.patch","name":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124302-r1.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PSGI.pm","name":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PSGI.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/SSLEAY.pm","name":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/SSLEAY.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-124302","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124302","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Net::Server::Proto::SSLEAY"],"packageName":"Net-Server","packageURL":"pkg:cpan/Net-Server","programFiles":["lib/Net/Server/Proto/SSLEAY.pm"],"programRoutines":[{"name":"Net::Server::Proto::SSLEAY::close"}],"repo":"https://github.com/rhandom/perl-net-server","versions":[{"lessThanOrEqual":"2.018","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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.\n\nclose 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.\n\nA 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-415","description":"CWE-415 Double Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-29T23:33:34.526Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["technical-description"],"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/SSLEAY.pm"},{"tags":["technical-description"],"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PSGI.pm"},{"tags":["patch"],"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124302-r1.patch"}],"source":{"discovery":"UNKNOWN"},"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","workarounds":[{"lang":"en","value":"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."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-124302","datePublished":"2026-11-29T23:33:34.526Z","dateReserved":"2026-11-07T12:00:45.238Z","dateUpdated":"2026-11-29T23:33:34.526Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 00:17:58","lastModifiedDate":"2026-11-30 00:17:58","problem_types":["CWE-415","CWE-415 CWE-415 Double Free"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"124302","Ordinal":"1","Title":"Net::Server::Proto::SSLEAY versions through 2.018 for Perl free ","CVE":"CVE-2026-124302","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"124302","Ordinal":"1","NoteData":"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.\n\nclose 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.\n\nA 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.","Type":"Description","Title":"Net::Server::Proto::SSLEAY versions through 2.018 for Perl free "}]}}}