| Name | CVE-2026-59850 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6410-1 |
| Debian Bugs | 1142537 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libssh (PTS) | bullseye | 0.9.8-0+deb11u1 | vulnerable |
| bullseye (security) | 0.9.8-0+deb11u2 | vulnerable | |
| bookworm | 0.10.6-0+deb12u2 | vulnerable | |
| bookworm (security) | 0.10.6-0+deb12u1 | vulnerable | |
| trixie | 0.11.2-1+deb13u1 | vulnerable | |
| trixie (security) | 0.11.5-0+deb13u1 | fixed | |
| forky, sid | 0.12.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libssh | source | trixie | 0.11.5-0+deb13u1 | DSA-6410-1 | ||
| libssh | source | (unstable) | 0.12.1-1 | 1142537 |
https://www.libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/
https://www.libssh.org/security/advisories/CVE-2026-59850.txt
Fixed by: https://git.libssh.org/projects/libssh.git/commit/?id=7dfabb1fd213196c4912c314b418ff36c882ea54 (libssh-0.12.1)
Fixed by: https://git.libssh.org/projects/libssh.git/commit/?id=7edddfc580970c821b1bd866c5f88854a8bfd70d (libssh-0.12.1)