vulnerability
Ubuntu: USN-7619-1 (CVE-2025-5987): libssh vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 9 | (AV:N/AC:M/Au:N/C:C/I:C/A:C) | Jun 25, 2025 | Jul 8, 2025 | Mar 27, 2026 |
Severity
9
CVSS
(AV:N/AC:M/Au:N/C:C/I:C/A:C)
Published
Jun 25, 2025
Added
Jul 8, 2025
Modified
Mar 27, 2026
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.
Solution
ubuntu-upgrade-libssh-4
References
- CVE-2025-5987
- https://attackerkb.com/topics/CVE-2025-5987
- CWE-393
- EUVD-EUVD-2025-20227
- UBUNTU-USN-7619-1
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-20227
- https://ubuntu.com/security/notices/USN-7619-1
- https://www.cve.org/CVERecord?id=CVE-2025-5987
- https://www.libssh.org/security/advisories/CVE-2025-5987.txt
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.