---
id: CVE-2022-3256
title: Use After Free in GitHub repository vim/vim prior to 9.0.0530.
summary: Use After Free in GitHub repository vim/vim prior to 9.0.0530.
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-416
  - CWE-416
vendor: neovim
product: neovim
affected:
  - 'neovim >= 0.1.0, < 0.8.0'
  - vim < 9.0.0530
  - fedora = 35
  - fedora = 36
  - fedora = 37
  - debian_linux = 10.0
patched:
  - neovim 0.8.0
  - vim 9.0.0530
published: '2022-09-22'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T15:54:01.663'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-3256'
references:
  - url: 'https://github.com/vim/vim/commit/8ecfa2c56b4992c7f067b92488aa9acea5a454ad'
    label: security@huntr.dev
  - url: 'https://huntr.dev/bounties/8336a3df-212a-4f8d-ae34-76ef1f936bb3'
    label: security@huntr.dev
  - url: 'https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html'
    label: security@huntr.dev
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QI7AETXBHPC7SGA77Q7O5IEGULWYET7/
    label: security@huntr.dev
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTBVD4J2SKVSWK4VBN5JP5OEVK6GDS3N/
    label: security@huntr.dev
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSSEWQLK55MCNT4Z2IIJEJYEI5HLCODI/
    label: security@huntr.dev
  - url: 'https://security.gentoo.org/glsa/202305-16'
    label: security@huntr.dev
  - url: 'https://github.com/vim/vim/commit/8ecfa2c56b4992c7f067b92488aa9acea5a454ad'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://huntr.dev/bounties/8336a3df-212a-4f8d-ae34-76ef1f936bb3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QI7AETXBHPC7SGA77Q7O5IEGULWYET7/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTBVD4J2SKVSWK4VBN5JP5OEVK6GDS3N/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSSEWQLK55MCNT4Z2IIJEJYEI5HLCODI/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202305-16'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-3256.json
  - url: 'https://access.redhat.com/security/cve/CVE-2022-3256'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2132571'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2022-3256'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-3256'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.00489
epssPercentile: 0.39443
ingestedAt: '2026-09-24T16:47:15.805Z'
---

## Overview

Use After Free in GitHub repository vim/vim prior to 9.0.0530.

## Affected

- `neovim >= 0.1.0, < 0.8.0`
- `vim < 9.0.0530`
- `fedora = 35`
- `fedora = 36`
- `fedora = 37`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `neovim 0.8.0`
- `vim 9.0.0530`

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-09-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-3256.json)
