Patchwire CVEs, their patch status, and feeds to follow them

CVE-2025-5372

Fixed in a distro release EPSS <1%CVSS 5.0

A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.

Published 2025-07-04 · CVE record · OSV

Products: libssh, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On, Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On, Red Hat Enterprise Linux 8.8 Telecommunications Update Service, Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4

Distro releases

ReleasePackageFixed in
AlmaLinux 8libssh0.9.6-16.el8_10
AlmaLinux 8libssh-config0.9.6-16.el8_10
AlmaLinux 8libssh-devel0.9.6-16.el8_10
Debian 11libssh0.9.8-0+deb11u2
Debian 12libssh0.10.6-0+deb12u2
Debian 13libssh0.11.2-1
Debian 14libssh0.11.2-1
Red Hat Enterprise Linux 8libssh0:0.9.6-16.el8_10
Red Hat Enterprise Linux 8libssh-config0:0.9.6-16.el8_10
Red Hat Enterprise Linux 8libssh-debuginfo0:0.9.6-16.el8_10
Red Hat Enterprise Linux 8libssh-debugsource0:0.9.6-16.el8_10
Red Hat Enterprise Linux 8libssh-devel0:0.9.6-16.el8_10
Red Hat rhel aus 8.4libssh0:0.9.4-2.el8_4.2
Red Hat rhel aus 8.4libssh-config0:0.9.4-2.el8_4.2
Red Hat rhel aus 8.4libssh-debuginfo0:0.9.4-2.el8_4.2
Red Hat rhel aus 8.4libssh-debugsource0:0.9.4-2.el8_4.2
Red Hat rhel aus 8.4libssh-devel0:0.9.4-2.el8_4.2
Red Hat rhel aus 8.6libssh0:0.9.6-4.el8_6.2
Red Hat rhel aus 8.6libssh-config0:0.9.6-4.el8_6.2
Red Hat rhel aus 8.6libssh-debuginfo0:0.9.6-4.el8_6.2
Red Hat rhel aus 8.6libssh-debugsource0:0.9.6-4.el8_6.2
Red Hat rhel aus 8.6libssh-devel0:0.9.6-4.el8_6.2
Red Hat rhel e4s 8.8libssh0:0.9.6-13.el8_8.2
Red Hat rhel e4s 8.8libssh-config0:0.9.6-13.el8_8.2
Red Hat rhel e4s 8.8libssh-debuginfo0:0.9.6-13.el8_8.2
Red Hat rhel e4s 8.8libssh-debugsource0:0.9.6-13.el8_8.2
Red Hat rhel e4s 8.8libssh-devel0:0.9.6-13.el8_8.2
Red Hat rhel e4s 9.0libssh0:0.9.6-3.el9_0.2
Red Hat rhel e4s 9.0libssh-config0:0.9.6-3.el9_0.2
Red Hat rhel e4s 9.0libssh-debuginfo0:0.9.6-3.el9_0.2
Red Hat rhel e4s 9.0libssh-debugsource0:0.9.6-3.el9_0.2
Red Hat rhel e4s 9.0libssh-devel0:0.9.6-3.el9_0.2
Red Hat rhel eus long life 8.4libssh0:0.9.4-2.el8_4.2
Red Hat rhel eus long life 8.4libssh-config0:0.9.4-2.el8_4.2
Red Hat rhel eus long life 8.4libssh-debuginfo0:0.9.4-2.el8_4.2
Red Hat rhel eus long life 8.4libssh-debugsource0:0.9.4-2.el8_4.2
Red Hat rhel eus long life 8.4libssh-devel0:0.9.4-2.el8_4.2
Red Hat rhel eus long life 8.6libssh0:0.9.6-4.el8_6.2
Red Hat rhel eus long life 8.6libssh-config0:0.9.6-4.el8_6.2
Red Hat rhel eus long life 8.6libssh-debuginfo0:0.9.6-4.el8_6.2
Red Hat rhel eus long life 8.6libssh-debugsource0:0.9.6-4.el8_6.2
Red Hat rhel eus long life 8.6libssh-devel0:0.9.6-4.el8_6.2
Red Hat rhel tus 8.8libssh0:0.9.6-13.el8_8.2
Red Hat rhel tus 8.8libssh-config0:0.9.6-13.el8_8.2
Red Hat rhel tus 8.8libssh-debuginfo0:0.9.6-13.el8_8.2
Red Hat rhel tus 8.8libssh-debugsource0:0.9.6-13.el8_8.2
Red Hat rhel tus 8.8libssh-devel0:0.9.6-13.el8_8.2
Rocky Linux 8libssh0:0.9.6-16.el8_10
SUSE Enterprise Storage 7.1libssh0.9.8-150200.13.9.1
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSSlibssh0.9.8-150200.13.9.1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSlibssh0.9.8-150400.3.9.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSlibssh0.9.8-150400.3.9.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOSlibssh0.9.8-150400.3.9.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSlibssh0.9.8-150400.3.9.1
SUSE Linux Enterprise Micro 5.1libssh0.9.8-150200.13.9.1
SUSE Linux Enterprise Micro 5.2libssh0.9.8-150200.13.9.1
SUSE Linux Enterprise Micro 5.3libssh0.9.8-150400.3.9.1
SUSE Linux Enterprise Micro 5.4libssh0.9.8-150400.3.9.1
SUSE Linux Enterprise Micro 5.5libssh0.9.8-150400.3.9.1
SUSE Linux Enterprise Module for Basesystem 15 SP6libssh0.9.8-150600.11.3.1
SUSE Linux Enterprise Module for Basesystem 15 SP7libssh0.9.8-150600.11.3.1
SUSE Linux Enterprise Server 12 SP5-LTSSlibssh0.9.8-3.15.1
SUSE Linux Enterprise Server 15 SP3-LTSSlibssh0.9.8-150200.13.9.1
SUSE Linux Enterprise Server 15 SP4-LTSSlibssh0.9.8-150400.3.9.1
SUSE Linux Enterprise Server 15 SP5-LTSSlibssh0.9.8-150400.3.9.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5libssh0.9.8-3.15.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3libssh0.9.8-150200.13.9.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4libssh0.9.8-150400.3.9.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5libssh0.9.8-150400.3.9.1
SUSE Linux Micro 6.0libssh0.10.6-2.1
SUSE Linux Micro 6.1libssh0.10.6-slfo.1.1_2.1
SUSE Manager Proxy 4.3libssh0.9.8-150400.3.9.1
SUSE Manager Server 4.3libssh0.9.8-150400.3.9.1
Ubuntu 22.04 LTSlibssh0.9.6-2ubuntu0.22.04.4
Ubuntu 24.04 LTSlibssh0.10.6-2ubuntu0.1
Ubuntu Pro 16.04 LTSlibsshno fix
Ubuntu Pro 18.04 LTSlibsshno fix
Ubuntu Pro 20.04 LTSlibsshno fix
openSUSE Leap 15.6libssh0.9.8-150600.11.3.1
openSUSE Tumbleweedlibssh0.11.2-1.1