8.1
CVE-2025-5987
- EPSS 1.44%
- Veröffentlicht 07.07.2025 14:24:12
- Zuletzt bearbeitet 30.06.2026 11:16:26
- Quelle secalert@redhat.com
- CVE-Watchlists
- Unerledigt
Libssh: invalid return code for chacha20 poly1305 with openssl backend
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.
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 1.44% | 0.697 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|---|---|---|---|
| nvd@nist.gov | 8.1 | 2.2 | 5.9 |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
|
| secalert@redhat.com | 8.1 | 2.2 | 5.9 |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
|
CWE-393 Return of Wrong Status Code
A function or operation returns an incorrect return value or status code that does not indicate the true result of execution, causing the product to modify its behavior based on the incorrect result.
https://access.redhat.com/security/cve/CVE-2025-5987
https://bugzilla.redhat.com/show_bug.cgi?id=2376219
https://access.redhat.com/errata/RHSA-2025:23484
https://access.redhat.com/errata/RHSA-2025:23483
https://access.redhat.com/errata/RHSA-2026:0427
https://access.redhat.com/errata/RHSA-2026:0428
https://access.redhat.com/errata/RHSA-2026:0430
https://access.redhat.com/errata/RHSA-2026:0431
https://access.redhat.com/errata/RHSA-2026:0702
https://access.redhat.com/errata/RHSA-2026:0978
https://access.redhat.com/errata/RHSA-2026:0985
https://access.redhat.com/errata/RHSA-2026:0996
https://access.redhat.com/errata/RHSA-2026:0980
https://access.redhat.com/errata/RHSA-2026:1539
https://access.redhat.com/errata/RHSA-2026:1541
https://access.redhat.com/errata/RHSA-2026:3415
https://www.libssh.org/security/advisories/CVE-2025-5987.txt