Every CVE Search/ Get API key

CVE-2020-22218

An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to...

7.5 HighFix available

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

1.16%Up 1.1 points since Aug 23, 2023
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
libssh2
Azure Linux:2
before 1.9.0-3
1.9.0-3
libssh2-1
TuxCare:Ubuntu:16.04
before 1.5.0-2ubuntu0.1+tuxcare.els1
1.5.0-2ubuntu0.1+tuxcare.els1
libssh2-1-dev
TuxCare:Ubuntu:16.04
before 1.5.0-2ubuntu0.1+tuxcare.els1
1.5.0-2ubuntu0.1+tuxcare.els1
libssh2
TuxCare:CentOS:6
before 1.4.2-3.el6_10.1.tuxcare.els1
1.4.2-3.el6_10.1.tuxcare.els1
libssh2-devel
TuxCare:CentOS:6
before 1.4.2-3.el6_10.1.tuxcare.els1
1.4.2-3.el6_10.1.tuxcare.els1
libssh2-docs
TuxCare:CentOS:6
before 1.4.2-3.el6_10.1.tuxcare.els1
1.4.2-3.el6_10.1.tuxcare.els1
libssh2
TuxCare: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-devel
TuxCare: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-docs
TuxCare: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
Debian:12
before 1.10.0-2
1.10.0-2
Show 48 moreShow less
Affected packages
PackageAffectedFixed
libssh2
Debian:13
before 1.10.0-2
1.10.0-2
libssh2
Debian:14
before 1.10.0-2
1.10.0-2
libssh2
Debian: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_jll
Julia
1.10.1+0 up to 1.11.0+0
1.11.0+0
libssh2
Red Hat:enterprise_linux:7::client
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-debuginfo
Red Hat:enterprise_linux:7::client
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-devel
Red Hat:enterprise_linux:7::client
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-docs
Red Hat:enterprise_linux:7::client
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-devel
Red Hat:enterprise_linux:7::computenode
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-docs
Red Hat:enterprise_linux:7::computenode
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2
Red Hat:enterprise_linux:7::server
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-debuginfo
Red Hat:enterprise_linux:7::server
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-devel
Red Hat:enterprise_linux:7::server
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-docs
Red Hat:enterprise_linux:7::server
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2
Red Hat:enterprise_linux:7::workstation
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-devel
Red Hat:enterprise_linux:7::workstation
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2-docs
Red Hat:enterprise_linux:7::workstation
before 0:1.8.0-4.el7_9.1
0:1.8.0-4.el7_9.1
libssh2_org
SUSE:Linux Enterprise Micro 5.3
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Micro 5.4
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP2-LTSS
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Server 15 SP3-LTSS
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Manager Proxy 4.2
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Manager Server 4.2
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Micro 5.1
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Micro 5.2
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Enterprise Storage 7
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Enterprise Storage 7.1
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
openSUSE:Leap 15.4
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
openSUSE:Leap 15.5
before 1.9.0-150000.4.16.1
1.9.0-150000.4.16.1
libssh2_org
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.4.3-26.5.1
1.4.3-26.5.1
libssh2_org
SUSE:Linux Enterprise Server 12 SP5
before 1.4.3-26.5.1
1.4.3-26.5.1
libssh2_org
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.4.3-26.5.1
1.4.3-26.5.1
libssh2
Ubuntu: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
libssh2
Ubuntu: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
libssh2
Ubuntu:18.04:LTS
before 1.8.0-1ubuntu0.1, plus listed versions
1.8.0-1
1.8.0-1ubuntu0.1
libssh2
Ubuntu: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

History
RecordedChangedSources
affected, facts
first indexedCVE 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

Show 16 moreShow less
MoveEnter Open