{"id":"CVE-2023-4781","published":"2023-09-05T18:32:30Z","modified":"2026-06-23T17:19:10Z","title":"Heap-based Buffer Overflow in vim/vim","vendor":"vim","product":"vim/vim","tier":"tail","description":{"text":"Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00572,"percentile":0.48218,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://huntr.dev/bounties/c867eb0a-aa8b-4946-a621-510350673883","tags":[]},{"url":"https://github.com/vim/vim/commit/f6d28fe2c95c678cc3202cc5dc825a3fcc709e93","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00035.html","tags":[]},{"url":"https://support.apple.com/kb/HT213984","tags":[]},{"url":"http://seclists.org/fulldisclosure/2023/Oct/24","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html","tags":[]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":9.64},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 9.0.1873"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-06-03T19:18:08.260782Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-54627","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2022-0319","parents":[{"from":"CVE-2022-0319","to":"CVE-2023-4781","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/window.c"],"commits":["https://github.com/vim/vim/commit/05b27615481e72e3b338bb12990fb3e0c2ecc2a9","https://github.com/vim/vim/commit/f6d28fe2c95c678cc3202cc5dc825a3fcc709e93"],"basis":"shared function","functions":["win_exchange"]}]}]}}