libssh. Incorrect AES-GCM finalization checks
Affects libsshSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium · fixed in 0.9.6-2ubuntu0.22.04.8 : update libssh when convenient.
Data as of 17 Nov 2026, 06:50 UTC
- Patch
- Available – fixed in 0.9.6-2ubuntu0.22.04.8, 0.10.6-2ubuntu0.5, 0.11.3-1ubuntu2.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade the Ubuntu libssh to 0.9.6-2ubuntu0.22.04.8 (package) or 0.10.6-2ubuntu0.5 (package) or 0.11.3-1ubuntu2.1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by updating libssh to the fixed versions: 0.9.6-2ubuntu0.22.04.8 for Ubuntu 22.04 LTS, 0.10.6-2ubuntu0.5 for Ubuntu 24.04 LTS, and 0.11.3-1ubuntu2.1 for Ubuntu 26.04 LTS. Standard system updates will apply these fixes. No additional mitigations are specified by the vendor advisory.
Description
A vulnerability in libssh affects builds using the OpenSSL backend where incorrect AES-GCM finalization checks can remove integrity protection. This flaw allows a man-in-the-middle attacker to modify plaintext traffic without detection. The issue is addressed in updated package versions for Ubuntu 22.04 LTS, 24.04 LTS, and 26.04 LTS.
References
- ubuntu.com/security/CVE-2026-59847 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-59847 (opens in a new tab)
- libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/ (opens in a new tab)
- libssh.org/security/advisories/CVE-2026-59847.txt (opens in a new tab)
- ubuntu.com/security/notices/USN-8699-1 (opens in a new tab)