Use After Free in Libssh
CVE-2026-59850
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.003, 28.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libssh
- Red Hat Enterprise Linux — versions 8.0, 9.0, 10.0
- Red Hat Hardened Images
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-59850 (vdb-entry, Vendor Advisory)
- RHBZ#2498183 (issue-tracking, Issue Tracking, Vendor Advisory)
- RHSA-2026:42922 (vendor-advisory, Issue Tracking)
- RHSA-2026:55855 (vendor-advisory)
- RHSA-2026:62218 (vendor-advisory)
- RHSA-2026:62217 (vendor-advisory)