{"id":"CVE-2022-2182","published":"2022-06-23T00: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 8.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01541,"percentile":0.7555,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://huntr.dev/bounties/238d8650-3beb-4831-a8f7-6f0b597a6fb8","tags":[]},{"url":"https://github.com/vim/vim/commit/f7c7c3fad6d2135d558f3b36d0d1a943118aeb5e","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/","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.6,"factors":[{"name":"EPSS percentile","points":15.11},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 8.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-08T20:53:51.071015Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-34466","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2022-1927","parents":[{"from":"CVE-2022-1927","to":"CVE-2022-2182","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/ex_docmd.c"],"commits":["https://github.com/vim/vim/commit/4d97a565ae8be0d4debba04ebd2ac3e75a0c8010","https://github.com/vim/vim/commit/f7c7c3fad6d2135d558f3b36d0d1a943118aeb5e"],"basis":"shared function","functions":["parse_cmd_address"]}]},{"from":"CVE-2022-2000","to":"CVE-2022-2182","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/ex_docmd.c"],"commits":["https://github.com/vim/vim/commit/44a3f3353e0407e9fffee138125a6927d1c9e7e5","https://github.com/vim/vim/commit/f7c7c3fad6d2135d558f3b36d0d1a943118aeb5e"],"basis":"shared function","functions":["parse_cmd_address"]}]}]}}