CVE-2026-59850
Libssh: libssh: use-after-free via data callbacks on closed channels
- State
- Published
- Severity
- 4.3 Medium
- Published
- Jul 21, 2026
- Updated
- Sep 1, 2026
- Reserved
- Jul 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | redhat |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Hardened ImagesRed Hat |
|
References
- RHSA-2026:42922vendor-advisory
- RHSA-2026:55855vendor-advisory
- RHSA-2026:62217vendor-advisory
- RHSA-2026:62218vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-59850vdb-entry
- RHBZ#2498183issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.