Skip to content
OpenAdvisories

Description

A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.

Affected products

VendorProductAffectedFixed
— libssh 0.10.0 – < 0.11.2 0.11.2
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support — —
Red Hat Red Hat OpenShift Container Platform 4.13 — —
Red Hat Red Hat OpenShift Container Platform 4.14 — —
Red Hat Red Hat OpenShift Container Platform 4.15 — —
Red Hat Red Hat OpenShift Container Platform 4.16 — —
Red Hat Red Hat OpenShift Container Platform 4.17 — —
Red Hat Red Hat OpenShift Container Platform 4.18 — —
Red Hat Red Hat OpenShift Container Platform 4.19 — —
Red Hat Red Hat OpenShift Container Platform 4.20 — —
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.2-1 —
Debian 13 libssh 0.11.2-1 —
Debian 12 libssh 0.10.6-0+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS libssh 0.10.6-2ubuntu0.1 USN-7619-1
Ubuntu 22.04 LTS libssh 0.9.6-2ubuntu0.22.04.4 USN-7619-1
ReleasePackageFixed inAdvisory
RHEL 10 libssh +2 0.11.1-5.el10_1 RHSA-2025:23484
RHEL 9 libssh +2 0.10.4-17.el9_7 RHSA-2025:23483
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS libssh 0.11.1-4.el10_0.1 RHSA-2026:0427
RHEL 9.6 EUS libssh 0.10.4-15.el9_6.1 RHSA-2026:0428
RHEL 9.4 EUS libssh 0.10.4-13.el9_4.2 RHSA-2026:0431
RHEL 9.2 E4S libssh 0.10.4-9.el9_2.2 RHSA-2026:0430

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 libssh-config 0.11.1-5.el10_1 ALSA-2025:23484
AlmaLinux 9 libssh +2 0.10.4-17.el9_7 ALSA-2025:23483

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 libssh 0.11.1-5.el10_1 RLSA-2025:23484
Rocky Linux 9 libssh 0.10.4-17.el9_7 RLSA-2025:23483
ReleasePackageFixed inAdvisory
SLE Micro 6.1 libssh 0.10.6-slfo.1.1_2.1 SUSE-SU-2025:20596-1
SLE Micro 6.0 libssh 0.10.6-2.1 SUSE-SU-2025:20557-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libssh 0.11.2-1.1 openSUSE-SU-2025:15243-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libssh 0.11.2-r0 —
Alpine v3.23 libssh 0.11.2-r0 —
Alpine v3.22 libssh 0.11.2-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libssh +2 0.10.6-1.amzn2023.0.2 ALAS2023-2025-1155

Azure Linux

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

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 libssh +2 0.11.1-5.el10_1 ELSA-2025-23484
Oracle Linux 9 libssh +2 0.10.4-17.el9_7 ELSA-2025-23483

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling libssh 0.11.3-r0 —
Wolfi rolling libssh2 1.11.1-r1 —

Advisories 20

References