---
id: CVE-2020-22218
title: >-
  An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0
  allows attackers to access out of bounds memory.
summary: >-
  An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0
  allows attackers to access out of bounds memory.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-787
vendor: libssh2
product: libssh2
affected:
  - libssh2 = 1.10.0
published: '2023-08-22'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T10:17:32.317'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2020-22218'
references:
  - url: 'https://github.com/libssh2/libssh2/pull/476'
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2023/09/msg00006.html'
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20231006-0002/'
    label: cve@mitre.org
  - url: 'https://github.com/libssh2/libssh2/pull/476'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2023/09/msg00006.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20231006-0002/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.01099
epssPercentile: 0.64781
ingestedAt: '2026-10-14T10:25:41.197Z'
---

## Overview

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

## Affected

- `libssh2 = 1.10.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
