CVE-2026-124302

Source
https://cve.org/CVERecord?id=CVE-2026-124302
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124302.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-124302
Downstream
Published
2026-11-29T23:33:34Z
Modified
2026-11-30T01:00:09Z
Summary
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
Details

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.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-415"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124302.json"
}
References

Affected packages

Git / github.com/rhandom/perl-net-server

Affected ranges

Type
GIT
Repo
https://github.com/rhandom/perl-net-server
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2.018"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

v2.*
v2.009
v2.010
v2.011
v2.012
v2.013
v2.014
v2.015
v2.016
v2.017
v2.018

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124302.json"