{"id":"CVE-2021-3973","published":"2021-11-19T11:35:11Z","modified":"2026-10-08T21:14:06Z","title":"Heap-based Buffer Overflow in vim/vim","vendor":"vim","product":"vim/vim","tier":"tail","description":{"text":"vim is vulnerable to Heap-based Buffer Overflow","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01801,"percentile":0.79048,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://huntr.dev/bounties/ce6e8609-77c6-4e17-b9fc-a2e5abed052e","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/615ddd5342b50a6878a907062aa471740bd9a847","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IH2LS2DXBTYOCWGAKFMBF3HTWWXPBEFL/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/15/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/202208-32","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":15.81},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 8.2.3611"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-08T21:12:39.803288Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-27178","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2021-3973","children":[{"from":"CVE-2021-3973","to":"CVE-2022-1720","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/normal.c"],"commits":["https://github.com/vim/vim/commit/615ddd5342b50a6878a907062aa471740bd9a847","https://github.com/vim/vim/commit/395bd1f6d3edc9f7edb5d1f2d7deaf5a9e3ab93c"],"basis":"shared function","functions":["get_visual_text"]}]}]}}