{"id":"CVE-2023-4781","title":"Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873.","summary":"Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873.","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"],"vendor":"neovim","product":"neovim","affected":["neovim <= 0.9.5","vim < 9.0.1873","debian_linux = 10.0","debian_linux = 11.0","macos < 14.1"],"patched":["vim 9.0.1873","macos 14.1"],"published":"2023-09-05","updated":"2026-09-17","sourceUpdated":"2026-09-17T17:59:09.700","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-4781","references":[{"url":"http://seclists.org/fulldisclosure/2023/Oct/24","label":"security@huntr.dev"},{"url":"https://github.com/vim/vim/commit/f6d28fe2c95c678cc3202cc5dc825a3fcc709e93","label":"security@huntr.dev"},{"url":"https://huntr.dev/bounties/c867eb0a-aa8b-4946-a621-510350673883","label":"security@huntr.dev"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00035.html","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/f6d28fe2c95c678cc3202cc5dc825a3fcc709e93","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.dev/bounties/c867eb0a-aa8b-4946-a621-510350673883","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00035.html","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.00613,"epssPercentile":0.47695,"ingestedAt":"2026-06-29T13:24:33.895Z","slug":"CVE-2023-4781","body":"## Overview\n\nHeap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873.\n\n## Affected\n\n- `neovim <= 0.9.5`\n- `vim < 9.0.1873`\n- `debian_linux = 10.0`\n- `debian_linux = 11.0`\n- `macos < 14.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `vim 9.0.1873`\n- `macos 14.1`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}