CVEfocus › CVE database › CVE-2020-22218

CVE-2020-22218

CVSS 7.5 HighEPSS 1.2% (higher than 67% of CVEs)Published 2023-08-22Updated 2026-10-14Assigner: mitre

An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.

What to do

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
2Fix pending
3Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04libssh2Not affected
vulnerable_code_not_present
Ubuntu 20.04libssh2Fixed1.8.0-2.1ubuntu0.1UBUNTU-CVE-2020-22218
Ubuntu 18.04libssh2Fixed1.8.0-1ubuntu0.1UBUNTU-CVE-2020-22218
Ubuntu 16.04libssh2Fix pending1.5.0-2ubuntu0.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2020-22218
Ubuntu 14.04libssh2Fix pending1.4.3-2ubuntu0.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2020-22218
Debian 14libssh2Fixed1.10.0-2DEBIAN-CVE-2020-22218
Debian 13libssh2Fixed1.10.0-2DEBIAN-CVE-2020-22218
Debian 12libssh2Fixed1.10.0-2DEBIAN-CVE-2020-22218
Red Hat Enterprise Linux 7libssh2Fixed0:1.8.0-4.el7_9.1RHSA-2023:5615
Red Hat Enterprise Linux 7libssh2-develFixed0:1.8.0-4.el7_9.1RHSA-2023:5615
Red Hat Enterprise Linux 7libssh2-docsFixed0:1.8.0-4.el7_9.1RHSA-2023:5615
Red Hat Enterprise Linux 6libssh2Will not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2-docsWill not fix
Out of support scope

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.