CVE & CISA-KEV Catalog

CVE-2025-5987

HIGHEPSS 71th pctl
8.1
CVSS v3
NVD

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.

How to fix

Remediation Available
libsshDebian
Fixed in:0.10.6-0+deb12u2CVE-2025-5987
Fixed in:0.11.2-1CVE-2025-5987
Fixed in:0.11.2-1CVE-2025-5987
libsshRed Hat / RHEL
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
libsshRocky
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
libssh-configRocky
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
libssh-configRed Hat / RHEL
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
libssh-debuginfoRocky
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
libssh-debuginfoRed Hat / RHEL
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
libssh-debugsourceRed Hat / RHEL
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
libssh-debugsourceRocky
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
libssh-develRocky
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
libssh-develRed Hat / RHEL
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.11.1-5.el10_1RHSA-2025:23484
Fixed in:0:0.11.1-4.el10_0.1RHSA-2026:0427
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-17.el9_7RHSA-2025:23483
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-15.el9_6.1RHSA-2026:0428
Fixed in:0:0.10.4-9.el9_2.2RHSA-2026:0430
Fixed in:0:0.10.4-13.el9_4.2RHSA-2026:0431
rhcos-aarch64Rocky
Fixed in:4.19.9.6.202601260820-0RHSA-2026:1539
Fixed in:417.94.202601120213-0RHSA-2026:0702
Fixed in:4.20.9.6.202601211057-0RHSA-2026:0978
Fixed in:416.94.202601160124-0RHSA-2026:0985
Fixed in:415.92.202601271320-0RHSA-2026:1541
Fixed in:9.6.20260123-0RHSA-2026:1539
Fixed in:414.92.202601191325-0RHSA-2026:0996
Fixed in:418.94.202601202224-0RHSA-2026:0980
rhcos-aarch64Red Hat / RHEL
Fixed in:415.92.202601271320-0RHSA-2026:1541
Fixed in:414.92.202601191325-0RHSA-2026:0996
Fixed in:4.20.9.6.202601211057-0RHSA-2026:0978
Fixed in:4.19.9.6.202601260820-0RHSA-2026:1539
Fixed in:416.94.202601160124-0RHSA-2026:0985
Fixed in:9.6.20260123-0RHSA-2026:1539
Fixed in:417.94.202601120213-0RHSA-2026:0702
Fixed in:418.94.202601202224-0RHSA-2026:0980
rhcos-ppc64leRocky
Fixed in:416.94.202601160124-0RHSA-2026:0985
Fixed in:414.92.202601191325-0RHSA-2026:0996
Fixed in:418.94.202601202224-0RHSA-2026:0980
Fixed in:4.20.9.6.202601211057-0RHSA-2026:0978
Fixed in:417.94.202601120213-0RHSA-2026:0702
Fixed in:9.6.20260123-0RHSA-2026:1539
Fixed in:4.19.9.6.202601260820-0RHSA-2026:1539
Fixed in:415.92.202601271320-0RHSA-2026:1541
rhcos-ppc64leRed Hat / RHEL
Fixed in:418.94.202601202224-0RHSA-2026:0980
Fixed in:417.94.202601120213-0RHSA-2026:0702
Fixed in:415.92.202601271320-0RHSA-2026:1541
Fixed in:414.92.202601191325-0RHSA-2026:0996
Fixed in:4.19.9.6.202601260820-0RHSA-2026:1539
Fixed in:4.20.9.6.202601211057-0RHSA-2026:0978
Fixed in:9.6.20260123-0RHSA-2026:1539
Fixed in:416.94.202601160124-0RHSA-2026:0985
rhcos-s390xRed Hat / RHEL
Fixed in:414.92.202601191325-0RHSA-2026:0996
Fixed in:418.94.202601202224-0RHSA-2026:0980
Fixed in:417.94.202601120213-0RHSA-2026:0702
Fixed in:4.20.9.6.202601211057-0RHSA-2026:0978
Fixed in:9.6.20260123-0RHSA-2026:1539
Fixed in:4.19.9.6.202601260820-0RHSA-2026:1539
Fixed in:415.92.202601271320-0RHSA-2026:1541
Fixed in:416.94.202601160124-0RHSA-2026:0985
rhcos-s390xRocky
Fixed in:9.6.20260123-0RHSA-2026:1539
Fixed in:4.19.9.6.202601260820-0RHSA-2026:1539
Fixed in:417.94.202601120213-0RHSA-2026:0702
Fixed in:415.92.202601271320-0RHSA-2026:1541
Fixed in:418.94.202601202224-0RHSA-2026:0980
Fixed in:416.94.202601160124-0RHSA-2026:0985
Fixed in:4.20.9.6.202601211057-0RHSA-2026:0978
Fixed in:414.92.202601191325-0RHSA-2026:0996
rhcos-x86_64Red Hat / RHEL
Fixed in:415.92.202601271320-0RHSA-2026:1541
Fixed in:4.20.9.6.202601211057-0RHSA-2026:0978
Fixed in:417.94.202601120213-0RHSA-2026:0702
Fixed in:416.94.202601160124-0RHSA-2026:0985
Fixed in:418.94.202601202224-0RHSA-2026:0980
Fixed in:4.19.9.6.202601260820-0RHSA-2026:1539
Fixed in:9.6.20260123-0RHSA-2026:1539
Fixed in:414.92.202601191325-0RHSA-2026:0996
Fixed in:413.92.202602240113-0RHSA-2026:3415
rhcos-x86_64Rocky
Fixed in:415.92.202601271320-0RHSA-2026:1541
Fixed in:413.92.202602240113-0RHSA-2026:3415
Fixed in:4.19.9.6.202601260820-0RHSA-2026:1539
Fixed in:4.20.9.6.202601211057-0RHSA-2026:0978
Fixed in:414.92.202601191325-0RHSA-2026:0996
Fixed in:416.94.202601160124-0RHSA-2026:0985
Fixed in:418.94.202601202224-0RHSA-2026:0980
Fixed in:417.94.202601120213-0RHSA-2026:0702
Fixed in:9.6.20260123-0RHSA-2026:1539
libsshUbuntu
Fixed in:0.9.6-2ubuntu0.22.04.4USN-7619-1
Fixed in:0.10.6-2ubuntu0.1USN-7619-1
libssh-4Ubuntu
Fixed in:0.9.6-2ubuntu0.22.04.4USN-7619-1
Fixed in:0.10.6-2ubuntu0.1USN-7619-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

1.44%probability of exploitation in 30 days
71stpercentile

Elevated risk: more likely to be exploited than 71% of all known CVEs.

References

Related Vulnerabilities

Other CWE-393 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-37897High7.22.8%--
CVE-2020-5401Medium5.31.0%-Fix
CVE-2024-49117High8.81.0%-Fix
CVE-2026-55958High7.50.4%-Fix
CVE-2025-32414Medium5.60.4%-Fix
CVE-2026-42246High7.40.3%-Fix

Common questions

How do I fix CVE-2025-5987?

Published advisories record a fix for 21 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2025-5987 being actively exploited?

Not that we know of. CVE-2025-5987 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 71% of all scored CVEs.

How severe is CVE-2025-5987?

CVE-2025-5987 has a CVSS v3 base score of 8.1, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-5987 affect?

Published advisories record a fix for libssh (Debian), libssh (Red Hat / RHEL), libssh (Rocky), libssh-config (Rocky), and 17 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2025-5987
CVE-2025-5987 severity badge

Markdown

[![CVE-2025-5987](https://tridentstack.com/cve/badge/CVE-2025-5987.svg)](https://tridentstack.com/cve/CVE-2025-5987)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-5987"><img src="https://tridentstack.com/cve/badge/CVE-2025-5987.svg" alt="CVE-2025-5987"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-30.