---
id: CVE-2022-2206
title: Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
summary: Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-125
vendor: vim
product: vim
affected:
  - vim < 8.2.5160
  - fedora = 35
  - fedora = 36
patched:
  - vim 8.2.5160
published: '2022-06-26'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T21:17:46.693'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-2206'
references:
  - url: 'https://github.com/vim/vim/commit/e178af5a586ea023622d460779fdcabbbfac0908'
    label: security@huntr.dev
  - url: 'https://huntr.dev/bounties/01d01e74-55d0-4d9e-878e-79ba599be668'
    label: security@huntr.dev
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/
    label: security@huntr.dev
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/
    label: security@huntr.dev
  - url: 'https://security.gentoo.org/glsa/202208-32'
    label: security@huntr.dev
  - url: 'https://security.gentoo.org/glsa/202305-16'
    label: security@huntr.dev
  - url: 'https://github.com/vim/vim/commit/e178af5a586ea023622d460779fdcabbbfac0908'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://huntr.dev/bounties/01d01e74-55d0-4d9e-878e-79ba599be668'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202208-32'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202305-16'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.01363
epssPercentile: 0.70937
ingestedAt: '2026-10-08T22:11:53.754Z'
---

## Overview

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

## Affected

- `vim < 8.2.5160`
- `fedora = 35`
- `fedora = 36`

## Remediation

Upgrade past the affected range:

- `vim 8.2.5160`
