Red Hat Enterprise Linux 10
Libssh: libssh: use-after-free via data callbacks on closed channels
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:0.12.0-3.el10_2
Fixed in 0:0.9.6-17.el8_10
Fixed in 0:0.9.6-17.el8_10
Fixed in 0:0.10.4-19.el9_8
Fixed in 0:0.10.4-19.el9_8
Fixed in 0.12.1-4.hum1
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:0.12.0-3.el10_2 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:0.9.6-17.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:0.9.6-17.el8_10 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:0.10.4-19.el9_8 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:0.10.4-19.el9_8 or later.
Upgrade Red Hat Hardened Images to 0.12.1-4.hum1 or later.
Workaround
Manually verify the channel is not closed inside your channel data callbacks.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:42922
- Vendor advisory access.redhat.com/errata/RHSA-2026:55855
- Vendor advisory access.redhat.com/errata/RHSA-2026:62217
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:62218
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.