{"id":"CVE-2022-2284","published":"2022-07-02T00:00:00Z","modified":"2026-10-08T21:03: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.","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.01436,"percentile":0.73777,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://huntr.dev/bounties/571d25ce-8d53-4fa0-b620-27f2a8a14874","tags":[]},{"url":"https://github.com/vim/vim/commit/3d51ce18ab1be4f9f6061568a4e7fabf00b21794","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UXPO5EHDV6J4B27E65DOQGZFELUFPRSK/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202208-32","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202305-16","tags":["vendor-advisory"]}],"priority":{"score":20.2,"factors":[{"name":"EPSS percentile","points":14.76},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-08T20:53:55.762489Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-34557","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2019-20807","children":[{"from":"CVE-2022-2284","to":"CVE-2023-48231","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/window.c"],"commits":["https://github.com/vim/vim/commit/3d51ce18ab1be4f9f6061568a4e7fabf00b21794","https://github.com/vim/vim/commit/25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a"],"basis":"shared function","functions":["win_close"]}]},{"from":"CVE-2022-2284","to":"CVE-2024-43374","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/window.c"],"commits":["https://github.com/vim/vim/commit/3d51ce18ab1be4f9f6061568a4e7fabf00b21794","https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8"],"basis":"shared function","functions":["win_close"]}]}]}}