CVE-2026-124302
Received Received - Intake

Heap Corruption in Net::Server::Proto::SSLEAY via PSGI Streaming

Vulnerability report for CVE-2026-124302, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-30

Last updated on: 2026-11-30

Assigner: CPANSec

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-30
Last Modified
2026-11-30
Generated
2026-11-30
AI Q&A
2026-11-30
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-415 The product calls free() twice on the same memory address.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a double-free issue in the Net::Server::Proto::SSLEAY Perl module. When a client socket is closed twice during a PSGI streaming response, the SSL session handle is freed twice. The first close frees the handle but leaves a stale pointer, so a second close attempts to free the already-freed memory. This corrupts the heap and crashes the server process.

Detection Guidance

This vulnerability can be detected by checking if your system uses Net::Server::Proto::SSLEAY versions through 2.018. Inspect Perl modules with commands like 'cpan -D Net::Server' or 'perl -MNet::Server -e "print $Net::Server::VERSION"'. Monitor server crashes during PSGI streaming responses as a potential indicator.

Impact Analysis

A remote attacker could exploit this by requesting a streaming endpoint on a PSGI server using the SSLEAY protocol. This would crash the server process, causing a denial of service. The server would stop handling requests until restarted.

Mitigation Strategies

Apply the provided patch from Resource 1 to update Net::Server::Proto::SSLEAY to a fixed version. Alternatively, disable PSGI streaming endpoints if not required. Ensure no untrusted clients can trigger streaming responses until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-124302. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...