cve.bz

CVE-2020-22218 libssh2 libssh2: Out-of-bounds Write

7.5 highEPSS 1.2%Fix available

High (7.5) in libssh2 libssh2. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

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

Severity

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
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-10-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-22218 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-22218?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-22218?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-22218 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libssh2:libssh21.10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libssh21.8.0-2.1+deb10u1DLA-3559-1
Debian12, 13, 14libssh21.10.0-2DEBIAN-CVE-2020-22218
Ubuntu18.04:LTSlibssh21.8.0-1ubuntu0.1UBUNTU-CVE-2020-22218 USN-6371-1
Ubuntu20.04:LTSlibssh21.8.0-2.1ubuntu0.1UBUNTU-CVE-2020-22218 USN-6371-1
UbuntuPro:14.04:LTSlibssh21.4.3-2ubuntu0.2+esm3UBUNTU-CVE-2020-22218 USN-6371-1
UbuntuPro:16.04:LTSlibssh21.5.0-2ubuntu0.1+esm2UBUNTU-CVE-2020-22218 USN-6371-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationlibssh2, libssh2-docs, libssh2-devel and 1 more0:1.8.0-4.el7_9.1RHSA-2023:5615
Red Hatenterprise_linux:7::computenodelibssh2-docs, libssh2-devel, libssh2-debuginfo0:1.8.0-4.el7_9.1RHSA-2023:5615
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 17 morelibssh2_org1.9.0-150000.4.16.1SUSE-SU-2023:3555-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libssh2_org1.4.3-26.5.1SUSE-SU-2023:3738-1
openSUSELeap 15.4, Leap 15.5libssh2_org1.9.0-150000.4.16.1SUSE-SU-2023:3555-1
Azure Linux2libssh21.9.0-3AZL-28594

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libssh2-0:1.8.0-4.el7_9.1Fixed 2023-10-10RHSA-2023:5615
Red Hat Enterprise Linux 6libssh2Out of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-22218.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-105-08ABB M2M Gateway2025-04-07EnergyABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3, ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3none listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON