CVE-2026-59850
4.3medium
Libssh: libssh: use-after-free via data callbacks on closed channels
- Severity
- 4.3medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libssh | Not specified Not affected: from 0:0.12.0-3.el10_2 before *, from 0:0.9.6-17.el8_10 before *, from 0:0.10.4-19.el9_8 before * | CVE List |
| libssh-main | Not specified Not affected: from 0.12.1-4.hum1 before * | CVE List |
| libssh libssh | Not specified | NVD |
| redhat hardened_images | Not specified | NVD |
| redhat enterprise_linux | 8.0, 9.0, 10.0 | NVD |
All scores
| redhat | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://access.redhat.com/errata/RHSA-2026:42922 | issue-tracking, vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:55855 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:62217 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:62218 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-59850 | vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2498183 | issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59850 changed 2026-09-01 | CVE Terms of Use |
| NVD | CVE-2026-59850 changed 2026-09-01 | Public domain |