{"id":"CVE-2022-2849","published":"2022-08-17T00:00:00Z","modified":"2026-10-09T13:35:42Z","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.0220.","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.00482,"percentile":0.42474,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://huntr.dev/bounties/389aeccd-deb9-49ae-9b6a-24c12d79b02e","tags":[]},{"url":"https://github.com/vim/vim/commit/f6d39c31d2177549a986d170e192d8351bd571e2","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202305-16","tags":["vendor-advisory"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":8.49},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 9.0.0220"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-09T13:35:33.330806Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-35083","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2022-1621","parents":[{"from":"CVE-2022-1621","to":"CVE-2022-2849","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/mbyte.c"],"commits":["https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b","https://github.com/vim/vim/commit/f6d39c31d2177549a986d170e192d8351bd571e2"],"basis":"rarely changed file"}]}]}}