Skip to content
OpenAdvisories

Description

A flaw was found in libssh's handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses. The library fails to free memory during these rekey operations, which can gradually exhaust system memory. This issue can lead to crashes on the client side, particularly when using libgcrypt, which impacts application stability and availability.

Affected products

VendorProductAffectedFixed
— libssh 0.6.0 – < 0.11.3 0.11.3
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh 0.11.3-1 —
Debian 13 libssh 0.11.2-1+deb13u1 —
Debian 12 libssh 0.10.6-0+deb12u2 —
Debian 11 libssh 0.9.8-0+deb11u2 DLA-4385-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 libssh 0.11.2-1ubuntu0.2 USN-8051-1
Ubuntu 24.04 LTS libssh 0.10.6-2ubuntu0.3 USN-8051-1
Ubuntu 22.04 LTS libssh 0.9.6-2ubuntu0.22.04.6 USN-8051-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libssh 0.9.3-2ubuntu2.5+esm3 —
Ubuntu Pro 18.04 LTS libssh 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 —
ReleasePackageFixed inAdvisory
RHEL 9 libssh +2 0.10.4-18.el9 RHSA-2026:18683

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libssh +2 0.10.4-18.el9 ALSA-2026:18683

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libssh 0.10.4-18.el9 RLSA-2026:18683
ReleasePackageFixed inAdvisory
SLES 15 SP7 libssh 0.9.8-150600.11.6.1 SUSE-SU-2025:03369-1
SLES 15 SP6 libssh 0.9.8-150600.11.6.1 SUSE-SU-2025:03369-1
SLES 12 SP5 libssh 0.6.3-12.18.1 SUSE-SU-2025:3897-1, SUSE-SU-2025:03368-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 6.1 libssh 0.10.6-slfo.1.1_3.1 SUSE-SU-2025:20894-1
SLE Micro 6.0 libssh 0.10.6-3.1 SUSE-SU-2025:20847-1
SLE Micro 5.5 libssh 0.9.8-150400.3.12.1 SUSE-SU-2025:3788-1
SLE Micro 5.4 libssh 0.9.8-150400.3.12.1 SUSE-SU-2025:3788-1
SLE Micro 5.3 libssh 0.9.8-150400.3.12.1 SUSE-SU-2025:3788-1
SLE Micro 5.2 libssh 0.9.8-150200.13.12.1 SUSE-SU-2025:3787-1
SLE Micro 5.1 libssh 0.9.8-150200.13.12.1 SUSE-SU-2025:3787-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libssh 0.11.3-1.1 openSUSE-SU-2025:15545-1
openSUSE Leap 15.6 libssh 0.9.8-150600.11.6.1 SUSE-SU-2025:03369-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libssh +2 0.10.6-1.amzn2023.0.3 ALAS2023-2025-1264

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libssh 0.10.6-4 —
Azure Linux 2 (CBL-Mariner) libssh 0.10.6-5 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libssh +2 0.10.4-18.el9 ELSA-2026-18683

Advisories 16

References