# CVE-2023-4751: Heap-based Buffer Overflow in vim/vim

- Severity: High 7.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-03T18:54:47.173Z
- Modified: 2026-09-17T17:58:59.463Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntrdev

## Description

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

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.1331
- neovim neovim: before 0.9.0
- vim vim: before 9.0.1331
- apple macos: 14.0

## Every score

- @huntrdev: CVSS:3.0 7.8 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/db7be8d6-6cb7-4ae5-9c4e-805423afa378> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/e1121b139480f53d1b06f84f3e4574048108fa0b> (patch)
- <https://support.apple.com/kb/HT213984> (release-notes, third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Oct/24> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2023-4751](https://www.cve.org/CVERecord?id=CVE-2023-4751), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-4751](https://nvd.nist.gov/vuln/detail/CVE-2023-4751), Public domain, modified 2026-09-17

---

Page: https://cve.day/CVE-2023-4751 · Whole record: https://cve.day/CVE-2023-4751.json · Rebuilt by cve.day 2026-11-25T22:58:27.531Z
