{"id":"CVE-2022-0417","published":"2022-02-01T00:00:00Z","modified":"2025-11-03T20:34:28Z","title":"Heap-based Buffer Overflow in vim/vim","vendor":"vim","product":"vim/vim","tier":"tail","description":{"text":"Heap-based Buffer Overflow GitHub repository vim/vim prior to 8.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01534,"percentile":0.75436,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://huntr.dev/bounties/fc86bc8d-c866-4ade-8b7f-e49cec306d1a","tags":[]},{"url":"https://github.com/vim/vim/commit/652dee448618589de5528a9e9a36995803f5557a","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UFXFAILMLUIK4MBUEZO4HNBNKYZRJ5AP/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7ZLEHVP4LNAGER4ZDGUDS5V5YVQD6INF/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/06/msg00014.html","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202208-32","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html","tags":[]}],"priority":{"score":21.0,"factors":[{"name":"EPSS percentile","points":15.09},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 8.2"]}],"euvd":{"id":"EUVD-2022-15559","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2019-20807","parents":[{"from":"CVE-2021-3770","to":"CVE-2022-0417","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/indent.c","src/option.c"],"commits":["https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9","https://github.com/vim/vim/commit/652dee448618589de5528a9e9a36995803f5557a"],"basis":"shared function","functions":["buf_copy_options","ex_retab","paste_option_changed","tabstop_set"]},{"kind":"similar","provenance":"machine","score":0.87,"basis":"same product + CWE + description similarity"}]}],"children":[{"from":"CVE-2022-0417","to":"CVE-2022-0572","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/indent.c"],"commits":["https://github.com/vim/vim/commit/652dee448618589de5528a9e9a36995803f5557a","https://github.com/vim/vim/commit/6e28703a8e41f775f64e442c5d11ce1ff599aa3f"],"basis":"shared function","functions":["ex_retab"]},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]}]}}