---
id: CVE-2023-4738
title: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1848.
summary: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1848.
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:
  - debian_linux = 11.0
  - neovim < 0.10.0
  - vim < 9.0.1848
  - macos = 14.0
patched:
  - neovim 0.10.0
  - vim 9.0.1848
published: '2023-09-02'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T15:39:32.580'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-4738'
references:
  - url: 'http://seclists.org/fulldisclosure/2023/Oct/24'
    label: security@huntr.dev
  - url: 'https://github.com/vim/vim/commit/ced2c7394aafdc90fb7845e09b3a3fee23d48cb1'
    label: security@huntr.dev
  - url: 'https://huntr.dev/bounties/9fc7dced-a7bb-4479-9718-f956df20f612'
    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/ced2c7394aafdc90fb7845e09b3a3fee23d48cb1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://huntr.dev/bounties/9fc7dced-a7bb-4479-9718-f956df20f612'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT213984'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00601
epssPercentile: 0.46631
ingestedAt: '2026-09-18T15:44:31.548Z'
---

## Overview

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

## Affected

- `debian_linux = 11.0`
- `neovim < 0.10.0`
- `vim < 9.0.1848`
- `macos = 14.0`

## Remediation

Upgrade past the affected range:

- `neovim 0.10.0`
- `vim 9.0.1848`
