---
id: CVE-2023-5535
title: Use After Free in GitHub repository vim/vim prior to v9.0.2010.
summary: Use After Free in GitHub repository vim/vim prior to v9.0.2010.
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
vendor: neovim
product: neovim
affected:
  - neovim <= 0.9.5
  - vim < 9.0.2010
  - fedora = 37
  - fedora = 38
  - fedora = 39
patched:
  - vim 9.0.2010
published: '2023-10-11'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:59:12.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-5535'
references:
  - url: 'https://github.com/vim/vim/commit/41e6f7d6ba67b61d911f9b1d76325cd79224753d'
    label: security@huntr.dev
  - url: 'https://huntr.dev/bounties/2c2d85a7-1171-4014-bf7f-a2451745861f'
    label: security@huntr.dev
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDDWD25AZIHBAA44HQT75OWLQ5UMDKU3/
    label: security@huntr.dev
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VGTVLUV7UCXXCZAIQIUCLG6JXAVYT3HE/
    label: security@huntr.dev
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XPT7NMYJRLBPIALGSE24UWTY6F774GZW/
    label: security@huntr.dev
  - url: 'https://github.com/vim/vim/commit/41e6f7d6ba67b61d911f9b1d76325cd79224753d'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://huntr.dev/bounties/2c2d85a7-1171-4014-bf7f-a2451745861f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDDWD25AZIHBAA44HQT75OWLQ5UMDKU3/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VGTVLUV7UCXXCZAIQIUCLG6JXAVYT3HE/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XPT7NMYJRLBPIALGSE24UWTY6F774GZW/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-5535.json
  - url: 'https://access.redhat.com/security/cve/CVE-2023-5535'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2244101'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2023-5535'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-5535'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00539
epssPercentile: 0.44275
ingestedAt: '2026-09-17T18:25:15.965Z'
scores:
  nvd: 7.8
  vendor: 3.3
---

## Overview

Use After Free in GitHub repository vim/vim prior to v9.0.2010.

## Affected

- `neovim <= 0.9.5`
- `vim < 9.0.2010`
- `fedora = 37`
- `fedora = 38`
- `fedora = 39`

## Remediation

Upgrade past the affected range:

- `vim 9.0.2010`

## Vendor advisories

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