8.1
High
CVE-2025-5987 Libssh: invalid return code for chacha20 poly1305 with openssl backend
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.
CVSS 3.1 detail
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitable remotely over the network, without an account and without any user action; an attacker can seriously compromise confidentiality, integrity or availability.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- Interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 10 | Versions not published | |
| Red Hat Enterprise Linux 9 | Versions not published | |
| Red Hat Enterprise Linux 6 | Versions not published | |
| Red Hat Enterprise Linux 7 | Versions not published | |
| Red Hat Enterprise Linux 8 | Versions not published | |
| Red Hat OpenShift Container Platform 4 | Versions not published | |
| Red Hat Enterprise Linux 10.0 Extended Update Support | Versions not published | |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | Versions not published | |
| Red Hat Enterprise Linux 9.4 Extended Update Support | Versions not published |
Show the 10 other branches Hide the 10 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 9.6 Extended Update Support | Versions not published | |
| Red Hat OpenShift Container Platform 4.17 417.94 | earliest → < 417.94.202601120213-0 | 417.94.202601120213-0 |
| Red Hat OpenShift Container Platform 4.20 4.20 | earliest → < 4.20.9.6.202601211057-0 | 4.20.9.6.202601211057-0 |
| Red Hat OpenShift Container Platform 4.16 416.94 | earliest → < 416.94.202601160124-0 | 416.94.202601160124-0 |
| Red Hat OpenShift Container Platform 4.14 414.92 | earliest → < 414.92.202601191325-0 | 414.92.202601191325-0 |
| Red Hat OpenShift Container Platform 4.18 418.94 | earliest → < 418.94.202601202224-0 | 418.94.202601202224-0 |
| Red Hat OpenShift Container Platform 4.19 4.19 | earliest → < 4.19.9.6.202601260820-0 | 4.19.9.6.202601260820-0 |
| Red Hat OpenShift Container Platform 4.15 415.92 | earliest → < 415.92.202601271320-0 | 415.92.202601271320-0 |
| Red Hat OpenShift Container Platform 4.13 413.92 | earliest → < 413.92.202602240113-0 | 413.92.202602240113-0 |
| Red Hat In-Vehicle Operating System 1 | Versions not published |
Other CVEs of Red Hat Enterprise Linux 10
The 1456 CVEs of Red Hat Enterprise Linux 10 →
CVE-2026-123876
Podman: containers-common: containers-common: default seccomp af_vsock/netlink_audit deny rules bypassable via 32-bit truncation
4.4
Medium
CVE-2026-120749
Dbus: dbus-daemon: dbus-daemon aborts (reply_serial != 0) when a broadcast from the driver cannot be delivered to a monitored bus
6.2
Medium
CVE-2026-123037
Ansible-core: user module generate_ssh_key follows a symlinked ~/.ssh enabling local privilege escalation (incomplete fix of cve-2024-9902)
6.7
Medium
CVE-2026-123151
Gdb: gdb: stack buffer overflow in parse_tsv_definition via stale rs->buf tail
Not rated