# CVE-2023-4781: 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.49%, higher than 35% of CVEs (2026-11-29)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-05T18:32:30.859Z
- Modified: 2026-09-17T17:59:09.700Z
- Weaknesses: CWE-122
- 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.1873.

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.1873
- neovim neovim: up to 0.9.5
- vim vim: before 9.0.1873
- debian debian_linux: 10.0; 11.0
- apple macos: before 14.1

## 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/c867eb0a-aa8b-4946-a621-510350673883> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/f6d28fe2c95c678cc3202cc5dc825a3fcc709e93> (patch)
- <https://lists.debian.org/debian-lts-announce/2023/09/msg00035.html> (mailing-list, third-party-advisory)
- <https://support.apple.com/kb/HT213984> (release-notes, third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Oct/24> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html> (mailing-list, third-party-advisory)

## Sources

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

---

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