---
id: CVE-2023-4751
title: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1331.
summary: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1331.
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
  - CWE-787
vendor: neovim
product: neovim
affected:
  - neovim < 0.9.0
  - vim < 9.0.1331
  - macos = 14.0
patched:
  - neovim 0.9.0
  - vim 9.0.1331
published: '2023-09-03'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:58:59.463'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-4751'
references:
  - url: 'http://seclists.org/fulldisclosure/2023/Oct/24'
    label: security@huntr.dev
  - url: 'https://github.com/vim/vim/commit/e1121b139480f53d1b06f84f3e4574048108fa0b'
    label: security@huntr.dev
  - url: 'https://huntr.dev/bounties/db7be8d6-6cb7-4ae5-9c4e-805423afa378'
    label: security@huntr.dev
  - url: 'https://support.apple.com/kb/HT213984'
    label: security@huntr.dev
  - url: 'http://seclists.org/fulldisclosure/2023/Oct/24'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/vim/vim/commit/e1121b139480f53d1b06f84f3e4574048108fa0b'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://huntr.dev/bounties/db7be8d6-6cb7-4ae5-9c4e-805423afa378'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT213984'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00558
epssPercentile: 0.45326
ingestedAt: '2026-09-17T18:25:15.962Z'
---

## Overview

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

## Affected

- `neovim < 0.9.0`
- `vim < 9.0.1331`
- `macos = 14.0`

## Remediation

Upgrade past the affected range:

- `neovim 0.9.0`
- `vim 9.0.1331`
