vulnerability

Amazon Linux 2023: CVE-2025-5987: Medium priority package update for libssh

Severity
6
CVSS
(AV:N/AC:M/Au:S/C:P/I:P/A:P)
Published
Apr 26, 2025
Added
Sep 9, 2025
Modified
Sep 9, 2025

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.

Solutions

amazon-linux-2023-upgrade-libsshamazon-linux-2023-upgrade-libssh-configamazon-linux-2023-upgrade-libssh-debuginfoamazon-linux-2023-upgrade-libssh-debugsourceamazon-linux-2023-upgrade-libssh-devel
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.