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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-09-03 · Modified: 2025-02-13
- Aliases: UBUNTU-CVE-2023-4751, DEBIAN-CVE-2023-4751
- Record: https://cvemate.com/vulnerability/CVE-2023-4751 · JSON: https://cvemate.com/vulnerability/CVE-2023-4751/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.569%, percentile 48.577%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- apple macos: 14.0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.0.1894-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm14 \| \< 2:7.4.1689-3ubuntu1.5+esm20 \| \< 2:8.0.1453-1ubuntu1.13+esm6 \| \< 2:8.1.2269-1ubuntu5.20 \| \< 2:8.2.3995-1ubuntu2.13
- neovim neovim: \< 0.9.0
- vim vim: \< 9.0.1331
- vim vim/vim: ≥ unspecified, \< 9.0.1331

## References

- <https://huntr.dev/bounties/db7be8d6-6cb7-4ae5-9c4e-805423afa378>
- <https://github.com/vim/vim/commit/e1121b139480f53d1b06f84f3e4574048108fa0b>
- <https://support.apple.com/kb/HT213984>
- <http://seclists.org/fulldisclosure/2023/Oct/24>
- <https://ubuntu.com/security/CVE-2023-4751>
- <https://ubuntu.com/security/notices/USN-6452-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-4751>
- <https://security-tracker.debian.org/tracker/CVE-2023-4751>

---

Data as of 2026-12-05T03:12:50.127Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
