# CVE-2023-6918: libssh: libssh is a library which implements the SSH protocol

CVE-2023-6918 is fixed in 5 products on 1 platform, first by DEBIAN-CVE-2023-6918, released December 19, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-6918
- Priority: Routine
- CVSS: 5.3 (Low)
- EPSS: 0.0141
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 18, 2023

## Description

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.  Security Fix(es):  * libssh: ProxyCommand/ProxyJump features allow injection of malicious code through hostname (CVE-2023-6004)  * libssh: Missing checks for return values for digests (CVE-2023-6918)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.10 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libssh Debian 12.15 (bookworm) | 0.10.6-0+deb12u1 | [DEBIAN-CVE-2023-6918](https://patchblox.com/security/data/fix/linux/debian-cve-2023-6918.md) | Dec 19, 2023 |
| Linux | libssh Debian 13.5 (trixie) | 0.10.6-1 | [DEBIAN-CVE-2023-6918](https://patchblox.com/security/data/fix/linux/debian-cve-2023-6918.md) | Dec 19, 2023 |
| Linux | libssh Debian 14 | 0.10.6-1 | [DEBIAN-CVE-2023-6918](https://patchblox.com/security/data/fix/linux/debian-cve-2023-6918.md) | Dec 19, 2023 |
| Linux | libssh RHEL 8 | 0:0.9.6-14.el8 | [RHSA-2024:3233](https://patchblox.com/security/data/fix/linux/rhsa-2024-3233.md) | May 22, 2024 |
| Linux | libssh RHEL 9 | 0:0.10.4-13.el9 | [RHSA-2024:2504](https://patchblox.com/security/data/fix/linux/rhsa-2024-2504.md) | Apr 30, 2024 |
| Linux | libssh almalinux 8 | 0.9.6-14.el8 | [ALSA-2024:3233](https://patchblox.com/security/data/fix/linux/alsa-2024-3233.md) | May 22, 2024 |
| Linux | libssh almalinux 9 | 0.10.4-13.el9 | [ALSA-2024:2504](https://patchblox.com/security/data/fix/linux/alsa-2024-2504.md) | Apr 30, 2024 |
| Linux | libssh ol 8 | 0:0.9.6-14.el8 | [ELSA-2024-3233](https://patchblox.com/security/data/fix/linux/elsa-2024-3233.md) | May 23, 2024 |
| Linux | libssh ol 9 | 0:0.10.4-13.el9 | [ELSA-2024-2504](https://patchblox.com/security/data/fix/linux/elsa-2024-2504.md) | May 2, 2024 |
| Linux | libssh rocky 8 | 0:0.9.6-14.el8 | [RLSA-2024:3233](https://patchblox.com/security/data/fix/linux/rlsa-2024-3233.md) | Jun 14, 2024 |
| Linux | libssh rocky 9 | 0:0.10.4-13.el9 | [RLSA-2024:2504](https://patchblox.com/security/data/fix/linux/rlsa-2024-2504.md) | May 7, 2025 |
| Linux | libssh-4 Ubuntu 18.04.6 LTS (bionic) | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | [libssh-4 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libssh-4-0.8.0-20170825.94fa1e38-1ubuntu0.7-esm3.md) | Jan 3, 2024 |
| Linux | libssh-4 Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu2.5 | [libssh-4 0.9.3-2ubuntu2.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libssh-4-0.9.3-2ubuntu2.5.md) | Jan 3, 2024 |
| Linux | libssh-4 Ubuntu 22.04.1 LTS (jammy) | 0.9.6-2ubuntu0.22.04.3 | [libssh-4 0.9.6-2ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libssh-4-0.9.6-2ubuntu0.22.04.3.md) | Jan 3, 2024 |
| Linux | libssh-config RHEL 8 | 0:0.9.6-14.el8 | [RHSA-2024:3233](https://patchblox.com/security/data/fix/linux/rhsa-2024-3233.md) | May 22, 2024 |
| Linux | libssh-config RHEL 9 | 0:0.10.4-13.el9 | [RHSA-2024:2504](https://patchblox.com/security/data/fix/linux/rhsa-2024-2504.md) | Apr 30, 2024 |
| Linux | libssh-config almalinux 8 | 0.9.6-14.el8 | [ALSA-2024:3233](https://patchblox.com/security/data/fix/linux/alsa-2024-3233.md) | May 22, 2024 |
| Linux | libssh-config almalinux 9 | 0.10.4-13.el9 | [ALSA-2024:2504](https://patchblox.com/security/data/fix/linux/alsa-2024-2504.md) | Apr 30, 2024 |
| Linux | libssh-config ol 8 | 0:0.9.6-14.el8 | [ELSA-2024-3233](https://patchblox.com/security/data/fix/linux/elsa-2024-3233.md) | May 23, 2024 |
| Linux | libssh-config ol 9 | 0:0.10.4-13.el9 | [ELSA-2024-2504](https://patchblox.com/security/data/fix/linux/elsa-2024-2504.md) | May 2, 2024 |
| Linux | libssh-devel RHEL 8 | 0:0.9.6-14.el8 | [RHSA-2024:3233](https://patchblox.com/security/data/fix/linux/rhsa-2024-3233.md) | May 22, 2024 |
| Linux | libssh-devel RHEL 9 | 0:0.10.4-13.el9 | [RHSA-2024:2504](https://patchblox.com/security/data/fix/linux/rhsa-2024-2504.md) | Apr 30, 2024 |
| Linux | libssh-devel almalinux 8 | 0.9.6-14.el8 | [ALSA-2024:3233](https://patchblox.com/security/data/fix/linux/alsa-2024-3233.md) | May 22, 2024 |
| Linux | libssh-devel almalinux 9 | 0.10.4-13.el9 | [ALSA-2024:2504](https://patchblox.com/security/data/fix/linux/alsa-2024-2504.md) | Apr 30, 2024 |
| Linux | libssh-devel ol 8 | 0:0.9.6-14.el8 | [ELSA-2024-3233](https://patchblox.com/security/data/fix/linux/elsa-2024-3233.md) | May 23, 2024 |
| Linux | libssh-devel ol 9 | 0:0.10.4-13.el9 | [ELSA-2024-2504](https://patchblox.com/security/data/fix/linux/elsa-2024-2504.md) | May 2, 2024 |
| Linux | libssh-gcrypt-4 Ubuntu 18.04.6 LTS (bionic) | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | [libssh-gcrypt-4 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libssh-gcrypt-4-0.8.0-20170825.94fa1e38-1ubuntu0.7-esm3.md) | Jan 3, 2024 |
| Linux | libssh-gcrypt-4 Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu2.5 | [libssh-gcrypt-4 0.9.3-2ubuntu2.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libssh-gcrypt-4-0.9.3-2ubuntu2.5.md) | Jan 3, 2024 |
| Linux | libssh-gcrypt-4 Ubuntu 22.04.1 LTS (jammy) | 0.9.6-2ubuntu0.22.04.3 | [libssh-gcrypt-4 0.9.6-2ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libssh-gcrypt-4-0.9.6-2ubuntu0.22.04.3.md) | Jan 3, 2024 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
