| Name | CVE-2026-59842 |
| Description | A flaw was found in libssh. During server-side GSSAPI key exchange, a ... |
| 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) |
| Debian Bugs | 1142537 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libssh (PTS) | bullseye | 0.9.8-0+deb11u1 | fixed |
| bullseye (security) | 0.9.8-0+deb11u2 | fixed |
| bookworm | 0.10.6-0+deb12u2 | fixed |
| bookworm (security) | 0.10.6-0+deb12u1 | fixed |
| trixie | 0.11.2-1+deb13u1 | fixed |
| forky, sid | 0.12.0-3 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| libssh | source | bullseye | (not affected) | | | |
| libssh | source | bookworm | (not affected) | | | |
| libssh | source | trixie | (not affected) | | | |
| libssh | source | (unstable) | (unfixed) | | | 1142537 |
Notes
[trixie] - libssh <not-affected> (Vulnerable code introduced later)
[bookworm] - libssh <not-affected> (Vulnerable code introduced later)
[bullseye] - libssh <not-affected> (Vulnerable code introduced later)
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-59842.txt
Introduced with: https://git.libssh.org/projects/libssh.git/commit/?id=88c2ea6752fab7b3da9cc4c51eaf632361a44080 (libssh-0.12.0)
Fixed by: https://git.libssh.org/projects/libssh.git/commit/?id=5568ae6c5a1adcb008d044985fe5f1d1567bc610 (libssh-0.12.1)