CVE-2020-22218
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to...
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
- Record
CVE-2020-22218- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
- Record
CVE-2020-22218- Updated
- 2026-11-02
EUVDEUVD-2020-14983 No score
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
- Record
EUVD-2020-14983- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-4wvm-v4fc-prp5
7.5
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to...
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
- Record
GHSA-4wvm-v4fc-prp5- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVAZL-28594
7.5
CVE-2020-22218 affecting package libssh2 for versions less than 1.9.0-3
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
- Record
AZL-28594- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
- Record
CVE-2020-22218- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2020-22218
7.5
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
- Record
DEBIAN-CVE-2020-22218- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVJLSEC-2025-189
7.5
An issue was discovered in function `_libssh2_packet_add` in libssh2 1.10.0 allows attackers to...
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
- Record
JLSEC-2025-189- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2023:5615
7.5
Red Hat Security Advisory: libssh2 security update
- Record
RHSA-2023:5615- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-22218
7.5
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
- Record
UBUNTU-CVE-2020-22218- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2023-1695835334 No score
Fix CVE(s): CVE-2020-22218
- SECURITY UPDATE: An issue was discovered in function
_libssh2_packet_add in libssh2 1.10.0 allows attackers to access out
of bounds memory.
- debian/patches/CVE-2020-22218.patch: doing total_num zero length check.
- CVE-2020-22218
- Record
CLSA-2023-1695835334- Updated
- 2026-11-02
OSVCLSA-2023-1695835423 No score
libssh2: Fix of CVE-2020-22218
- CVE-2020-22218: doing total_num zero length check
- Record
CLSA-2023-1695835423- Updated
- 2026-11-02
OSVCLSA-2023-1695835793 No score
libssh2: Fix of CVE-2020-22218
- CVE-2020-22218: doing total_num zero length check
- Record
CLSA-2023-1695835793- Updated
- 2026-11-02
OSVSUSE-SU-2023:3555-1 No score
Security update for libssh2_org
This update for libssh2_org fixes the following issues:
- CVE-2020-22218: Fixed a bug in _libssh2_packet_add() which allows to access out of bounds memory. (bsc#1214527)
- Record
SUSE-SU-2023:3555-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3738-1 No score
Security update for libssh2_org
This update for libssh2_org fixes the following issues:
- CVE-2020-22218: Fixed a bug in _libssh2_packet_add() which allows to access out of bounds memory. (bsc#1214527)
- Record
SUSE-SU-2023:3738-1- Updated
- 2026-11-02
OSVUSN-6371-1 No score
libssh2 vulnerability
It was discovered that libssh2 incorrectly handled memory access. An attacker could possibly use this issue to cause a crash.
- Record
USN-6371-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libssh2Azure Linux:2 |
before 1.9.0-3 | 1.9.0-3 |
libssh2-1TuxCare:Ubuntu:16.04 |
before 1.5.0-2ubuntu0.1+tuxcare.els1 | 1.5.0-2ubuntu0.1+tuxcare.els1 |
libssh2-1-devTuxCare:Ubuntu:16.04 |
before 1.5.0-2ubuntu0.1+tuxcare.els1 | 1.5.0-2ubuntu0.1+tuxcare.els1 |
libssh2TuxCare:CentOS:6 |
before 1.4.2-3.el6_10.1.tuxcare.els1 | 1.4.2-3.el6_10.1.tuxcare.els1 |
libssh2-develTuxCare:CentOS:6 |
before 1.4.2-3.el6_10.1.tuxcare.els1 | 1.4.2-3.el6_10.1.tuxcare.els1 |
libssh2-docsTuxCare:CentOS:6 |
before 1.4.2-3.el6_10.1.tuxcare.els1 | 1.4.2-3.el6_10.1.tuxcare.els1 |
libssh2TuxCare:OracleLinux:6 |
before 1.4.2-3.0.1.el6_10.1.tuxcare.ol.els1 | 1.4.2-3.0.1.el6_10.1.tuxcare.ol.els1 |
libssh2-develTuxCare:OracleLinux:6 |
before 1.4.2-3.0.1.el6_10.1.tuxcare.ol.els1 | 1.4.2-3.0.1.el6_10.1.tuxcare.ol.els1 |
libssh2-docsTuxCare:OracleLinux:6 |
before 1.4.2-3.0.1.el6_10.1.tuxcare.ol.els1 | 1.4.2-3.0.1.el6_10.1.tuxcare.ol.els1 |
libssh2Debian:12 |
before 1.10.0-2 | 1.10.0-2 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libssh2Debian:13 |
before 1.10.0-2 | 1.10.0-2 |
libssh2Debian:14 |
before 1.10.0-2 | 1.10.0-2 |
libssh2Debian:10 From an advisory covering 3 CVEs |
before 1.8.0-2.1+deb10u1, plus listed versions 1.8.0-2.1 |
1.8.0-2.1+deb10u1 |
LibSSH2_jllJulia |
1.10.1+0 up to 1.11.0+0 | 1.11.0+0 |
libssh2Red Hat:enterprise_linux:7::client |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-debuginfoRed Hat:enterprise_linux:7::client |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-develRed Hat:enterprise_linux:7::client |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-docsRed Hat:enterprise_linux:7::client |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-develRed Hat:enterprise_linux:7::computenode |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-docsRed Hat:enterprise_linux:7::computenode |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2Red Hat:enterprise_linux:7::server |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-debuginfoRed Hat:enterprise_linux:7::server |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-develRed Hat:enterprise_linux:7::server |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-docsRed Hat:enterprise_linux:7::server |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2Red Hat:enterprise_linux:7::workstation |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-develRed Hat:enterprise_linux:7::workstation |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2-docsRed Hat:enterprise_linux:7::workstation |
before 0:1.8.0-4.el7_9.1 | 0:1.8.0-4.el7_9.1 |
libssh2_orgSUSE:Linux Enterprise Micro 5.3 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Micro 5.4 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Module for Basesystem 15 SP5 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Server 15 SP1-LTSS |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Server 15 SP2-LTSS |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Server 15 SP3-LTSS |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Server for SAP Applications 15 SP2 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Server for SAP Applications 15 SP3 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Manager Proxy 4.2 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Manager Server 4.2 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Micro 5.1 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Micro 5.2 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Enterprise Storage 7 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Enterprise Storage 7.1 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgopenSUSE:Leap 15.4 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgopenSUSE:Leap 15.5 |
before 1.9.0-150000.4.16.1 | 1.9.0-150000.4.16.1 |
libssh2_orgSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 1.4.3-26.5.1 | 1.4.3-26.5.1 |
libssh2_orgSUSE:Linux Enterprise Server 12 SP5 |
before 1.4.3-26.5.1 | 1.4.3-26.5.1 |
libssh2_orgSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 1.4.3-26.5.1 | 1.4.3-26.5.1 |
libssh2Ubuntu:Pro:14.04:LTS |
before 1.4.3-2ubuntu0.2+esm3, plus listed versions 1.4.3-11.4.3-21.4.3-2ubuntu0.11.4.3-2ubuntu0.21.4.3-2ubuntu0.2+esm11.4.3-2ubuntu0.2+esm2 |
1.4.3-2ubuntu0.2+esm3 |
libssh2Ubuntu:Pro:16.04:LTS |
before 1.5.0-2ubuntu0.1+esm2, plus listed versions 1.5.0-21.5.0-2ubuntu0.11.5.0-2ubuntu0.1+esm1 |
1.5.0-2ubuntu0.1+esm2 |
libssh2Ubuntu:18.04:LTS |
before 1.8.0-1ubuntu0.1, plus listed versions 1.8.0-1 |
1.8.0-1ubuntu0.1 |
libssh2Ubuntu:20.04:LTS |
before 1.8.0-2.1ubuntu0.1, plus listed versions 1.8.0-2.1build1 |
1.8.0-2.1ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-22218 is a high vulnerability (CVSS 7.5) in Libssh2, published August 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.16%, the 67th percentile. Fixed in libssh2 1.9.0-3.
References
github.com/libssh2/libssh2/pull/476
lists.debian.org/debian-lts-announce/2023/09/msg00006.html
security.netapp.com/advisory/ntap-20231006-0002
cert-portal.siemens.com/productcert/html/ssa-398330.html
nvd.nist.gov/vuln/detail/CVE-2020-22218
github.com/advisories/GHSA-4wvm-v4fc-prp5
Show 16 moreShow less
errata.cloudlinux.com/ubuntu16_04-els/CLSA-2023-1695835334
errata.cloudlinux.com/els6/CLSA-2023-1695835423.html
errata.cloudlinux.com/ol6/CLSA-2023-1695835793.html
security-tracker.debian.org/tracker/CVE-2020-22218
access.redhat.com/errata/RHSA-2023:5615
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2235542
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_5615.json
access.redhat.com/security/cve/CVE-2020-22218
cve.org/CVERecord?id=CVE-2020-22218
suse.com/support/update/announcement/2023/suse-su-20233555-1
bugzilla.suse.com/1214527
suse.com/security/cve/CVE-2020-22218
suse.com/support/update/announcement/2023/suse-su-20233738-1
ubuntu.com/security/CVE-2020-22218
ubuntu.com/security/notices/USN-6371-1