VDB
DEBIAN-CVE-2025-5987
DEBIAN-CVE-2025-5987
PUBLISHED
CVSS 8.100000381469727 HIGH
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.
Risk Scores
CVSS 3.1
8.100000381469727
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:12 | libssh | 0, 0.10.5-2, 0.10.5-3+hurd.1 |
| Debian:14 | libssh | 0, 0 |
| Debian:13 | libssh | 0, 0 |
Exploit Intelligence
- seen_cves.json (github-poc)
Timeline
- Jul 7, 2025 CVE Published
- Apr 28, 2026 CVE Updated