# CVE-2020-16135: libssh: libssh is a library which implements the SSH protocol

CVE-2020-16135 is fixed in 5 products on 1 platform, first by libssh-4 0.8.0~20170825.94fa1e38-1ubuntu0.7, released July 29, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-16135
- Priority: Routine
- CVSS: 5.9 (Low)
- EPSS: 0.0411
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 29, 2020

## Description

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.  Security Fix(es):  * libssh: NULL pointer dereference in sftpserver.c if ssh_buffer_new returns NULL (CVE-2020-16135)  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.5 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libssh RHEL 8 | 0:0.9.4-3.el8 | [RHSA-2021:4387](https://patchblox.com/security/data/fix/linux/rhsa-2021-4387.md) | Nov 9, 2021 |
| Linux | libssh ol 8 | 0:0.9.4-3.el8 | [ELSA-2021-4387](https://patchblox.com/security/data/fix/linux/elsa-2021-4387.md) | Nov 16, 2021 |
| Linux | libssh rocky 8 | 0:0.9.4-3.el8 | [RLSA-2021:4387](https://patchblox.com/security/data/fix/linux/rlsa-2021-4387.md) | Nov 9, 2021 |
| Linux | libssh-4 Ubuntu 18.04.6 LTS (bionic) | 0.8.0~20170825.94fa1e38-1ubuntu0.7 | [libssh-4 0.8.0~20170825.94fa1e38-1ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libssh-4-0.8.0-20170825.94fa1e38-1ubuntu0.7.md) | Jul 29, 2020 |
| Linux | libssh-4 Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu2.1 | [libssh-4 0.9.3-2ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libssh-4-0.9.3-2ubuntu2.1.md) | Jul 29, 2020 |
| Linux | libssh-config RHEL 8 | 0:0.9.4-3.el8 | [RHSA-2021:4387](https://patchblox.com/security/data/fix/linux/rhsa-2021-4387.md) | Nov 9, 2021 |
| Linux | libssh-config ol 8 | 0:0.9.4-3.el8 | [ELSA-2021-4387](https://patchblox.com/security/data/fix/linux/elsa-2021-4387.md) | Nov 16, 2021 |
| Linux | libssh-devel RHEL 8 | 0:0.9.4-3.el8 | [RHSA-2021:4387](https://patchblox.com/security/data/fix/linux/rhsa-2021-4387.md) | Nov 9, 2021 |
| Linux | libssh-devel almalinux 8 | 0.9.4-3.el8 | [ALSA-2021:4387](https://patchblox.com/security/data/fix/linux/alsa-2021-4387.md) | Nov 9, 2021 |
| Linux | libssh-devel ol 8 | 0:0.9.4-3.el8 | [ELSA-2021-4387](https://patchblox.com/security/data/fix/linux/elsa-2021-4387.md) | Nov 16, 2021 |
| Linux | libssh-gcrypt-4 Ubuntu 18.04.6 LTS (bionic) | 0.8.0~20170825.94fa1e38-1ubuntu0.7 | [libssh-gcrypt-4 0.8.0~20170825.94fa1e38-1ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libssh-gcrypt-4-0.8.0-20170825.94fa1e38-1ubuntu0.7.md) | Jul 29, 2020 |
| Linux | libssh-gcrypt-4 Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu2.1 | [libssh-gcrypt-4 0.9.3-2ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libssh-gcrypt-4-0.9.3-2ubuntu2.1.md) | Jul 29, 2020 |

---

Data as of 2026-11-08T06:59:42Z 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.
