CVE-2026-59850

MEDIUM

Libssh: libssh: use-after-free via data callbacks on closed channels

Title source: cna
STIX 2.1

Description

A flaw was found in libssh. If data packets are processed after a channel is closed, channel data callbacks can be invoked after the associated data has already been freed, leading to crashes or possible use-after-free conditions.

References (3)

Core 3
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:42922
https://access.redhat.com/errata/RHSA-2026:42922
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-59850
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2498183
https://bugzilla.redhat.com/show_bug.cgi?id=2498183

Scores

CVSS v3 4.3
EPSS 0.0027
EPSS Percentile 19.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (10)
libssh/libssh
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat Hardened Images
Red Hat/Red Hat Hardened Images 0.12.1-4.hum1
redhat/enterprise_linux 8.0
redhat/enterprise_linux 9.0
redhat/enterprise_linux 10.0
redhat/hardened_images
Published Jul 21, 2026
Tracked Since Jul 21, 2026