CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (8.8). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2025-5372 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-5372?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-5372?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-5372 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| libssh | before 0.11.2 |
| Product | Fixed in |
|---|---|
| Red Hat Enterprise Linux 8 | 0:0.9.6-16.el8_10 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:0.9.4-2.el8_4.2 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | 0:0.9.4-2.el8_4.2 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:0.9.6-4.el8_6.2 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | 0:0.9.6-4.el8_6.2 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 0:0.9.6-13.el8_8.2 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:0.9.6-13.el8_8.2 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:0.9.6-3.el9_0.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | libssh | 0.9.8-0+deb11u2 | DLA-4385-1 |
| Debian | 12 | libssh | 0.10.6-0+deb12u2 | DEBIAN-CVE-2025-5372 |
| Debian | 13, 14 | libssh | 0.11.2-1 | DEBIAN-CVE-2025-5372 |
| Ubuntu | 22.04:LTS | libssh | 0.9.6-2ubuntu0.22.04.4 | UBUNTU-CVE-2025-5372 USN-7619-1 |
| Ubuntu | 24.04:LTS | libssh | 0.10.6-2ubuntu0.1 | UBUNTU-CVE-2025-5372 USN-7619-1 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS | libssh | no fix listed | UBUNTU-CVE-2025-5372 |
| Red Hat | enterprise_linux:8::appstream | libssh-devel, libssh-debuginfo, libssh-debugsource | 0:0.9.6-16.el8_10 | RHSA-2025:21977 |
| Red Hat | enterprise_linux:8::baseos | libssh, libssh-config, libssh-debuginfo and 1 more | 0:0.9.6-16.el8_10 | RHSA-2025:21977 |
| Red Hat | rhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstream | libssh-devel, libssh-debuginfo, libssh-debugsource | 0:0.9.4-2.el8_4.2 | RHSA-2026:24349 |
| Red Hat | rhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseos | libssh, libssh-config, libssh-debuginfo and 1 more | 0:0.9.4-2.el8_4.2 | RHSA-2026:24349 |
| Red Hat | rhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstream | libssh-devel, libssh-debuginfo, libssh-debugsource | 0:0.9.6-4.el8_6.2 | RHSA-2026:25911 |
| Red Hat | rhel_aus:8.6::baseos, rhel_eus_long_life:8.6::baseos | libssh, libssh-config, libssh-debuginfo and 1 more | 0:0.9.6-4.el8_6.2 | RHSA-2026:25911 |
| Red Hat | rhel_e4s:8.8::appstream, rhel_tus:8.8::appstream | libssh-devel, libssh-debuginfo, libssh-debugsource | 0:0.9.6-13.el8_8.2 | RHSA-2026:20610 |
| Red Hat | rhel_e4s:8.8::baseos, rhel_tus:8.8::baseos | libssh, libssh-config, libssh-debuginfo and 1 more | 0:0.9.6-13.el8_8.2 | RHSA-2026:20610 |
| Red Hat | rhel_e4s:9.0::appstream | libssh-devel, libssh-debuginfo, libssh-debugsource | 0:0.9.6-3.el9_0.2 | RHSA-2025:23024 |
| Red Hat | rhel_e4s:9.0::baseos | libssh, libssh-config, libssh-debuginfo and 1 more | 0:0.9.6-3.el9_0.2 | RHSA-2025:23024 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 more | libssh | 0.9.8-150200.13.9.1 | SUSE-SU-2025:02279-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 more | libssh | 0.9.8-150400.3.9.1 | SUSE-SU-2025:02278-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7 | libssh | 0.9.8-150600.11.3.1 | SUSE-SU-2025:02229-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | libssh | 0.9.8-3.15.1 | SUSE-SU-2025:02281-1 |
| SUSE | Linux Micro 6.0 | libssh | 0.10.6-2.1 | SUSE-SU-2025:20557-1 |
| SUSE | Linux Micro 6.1 | libssh | 0.10.6-slfo.1.1_2.1 | SUSE-SU-2025:20596-1 |
| openSUSE | Leap 15.6 | libssh | 0.9.8-150600.11.3.1 | SUSE-SU-2025:02229-1 |
| openSUSE | Tumbleweed | libssh | 0.11.2-1.1 | openSUSE-SU-2025:15243-1 |
| AlmaLinux | 8 | libssh, libssh-devel, libssh-config | 0.9.6-16.el8_10 | ALSA-2025:21977 |
| Rocky Linux | 8 | libssh | 0:0.9.6-16.el8_10 | RLSA-2025:21977 |
| Alpine | v3.22, v3.23, v3.24 | libssh | 0.11.2-r0 | ALPINE-CVE-2025-5372 |
| Azure Linux | 2 | libssh | 0.10.6-2 | AZL-64650 |
| Azure Linux | 3 | libssh | 0.10.6-2 | AZL-64656 |
| Alpaquita | 23, 25, stream | libssh | 0.11.2-r0 | BELL-CVE-2025-5372 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
The Red Hat Product Security team has assessed the severity of this vulnerability as Moderate due to the combination of limited prerequisites and its impact on confidentiality, integrity, and availability. The vulnerability is only present when libssh is built with OpenSSL versions older than 3.0. Successful exploitation could allow an attacker to initiate cryptographic operations using uninitialized keys, which may compromise secure SSH sessions.
To mitigate this issue, administrators should ensure that libssh is built against OpenSSL version 3.0 or later. This change eliminates the return code mismatch and prevents the erroneous use of uninitialized key material. It is also strongly recommended to apply vendor supplied patches or update to the latest libssh security release as soon as possible.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libssh-0:0.9.6-16.el8_10 | Fixed 2025-11-24 | RHSA-2025:21977 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | libssh-0:0.9.4-2.el8_4.2 | Fixed 2026-06-08 | RHSA-2026:24349 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | libssh-0:0.9.4-2.el8_4.2 | Fixed 2026-06-08 | RHSA-2026:24349 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | libssh-0:0.9.6-4.el8_6.2 | Fixed 2026-06-15 | RHSA-2026:25911 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | libssh-0:0.9.6-4.el8_6.2 | Fixed 2026-06-15 | RHSA-2026:25911 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | libssh-0:0.9.6-13.el8_8.2 | Fixed 2026-05-26 | RHSA-2026:20610 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | libssh-0:0.9.6-13.el8_8.2 | Fixed 2026-05-26 | RHSA-2026:20610 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | libssh-0:0.9.6-3.el9_0.2 | Fixed 2025-12-10 | RHSA-2025:23024 |
| Red Hat Enterprise Linux 10 | libssh | Not affected | |
| Red Hat Enterprise Linux 6 | libssh2 | Out of support scope | |
| Red Hat Enterprise Linux 7 | libssh2 | Out of support scope | |
| Red Hat Enterprise Linux 9 | libssh | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-5372.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.