---
id: CVE-2022-2343
title: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0044.
summary: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0044.
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-122
vendor: vim
product: vim
affected:
  - vim < 9.0.0044
  - fedora = 35
patched:
  - vim 9.0.0044
published: '2022-07-08'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T21:17:47.940'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-2343'
references:
  - url: 'https://github.com/vim/vim/commit/caea66442d86e7bbba3bf3dc202c3c0d549b9853'
    label: security@huntr.dev
  - url: 'https://huntr.dev/bounties/2ecb4345-2fc7-4e7f-adb0-83a20bb458f5'
    label: security@huntr.dev
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/
    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/caea66442d86e7bbba3bf3dc202c3c0d549b9853'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://huntr.dev/bounties/2ecb4345-2fc7-4e7f-adb0-83a20bb458f5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/
    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.01377
epssPercentile: 0.71221
ingestedAt: '2026-10-08T22:11:53.757Z'
---

## Overview

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0044.

## Affected

- `vim < 9.0.0044`
- `fedora = 35`

## Remediation

Upgrade past the affected range:

- `vim 9.0.0044`
