CVE-2025-5987

Severity: Medium
Published: 2025-04-26

Fix Status by Distribution

Fixed in 13 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-27 21:02 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
AlmaLinux 8
Debian 11 (Bullseye)
Oracle Linux 8
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Red Hat Enterprise Linux 8
Rocky Linux 8
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP7
SUSE Linux Enterprise Server 16
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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.

Exploit evidence

No public exploit evidence reported by NVD

Last checked: 2026-11-23 23:29 UTC

  • No exploitation evidence · CISA Coordinator (Assessed 2026-01-22 04:55 UTC)

NVD evidence for CVE-2025-5987 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.