{"id":"CVE-2021-3974","published":"2021-11-19T00:00:00Z","modified":"2026-10-08T21:03:10Z","title":"Use After Free in vim/vim","vendor":"vim","product":"vim/vim","tier":"tail","description":{"text":"vim is vulnerable to Use After Free","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.01363,"percentile":0.72455,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://huntr.dev/bounties/e402cb2c-8ec4-4828-a692-c95f8e0de6d4","tags":[]},{"url":"https://github.com/vim/vim/commit/64066b9acd9f8cffdf4840f797748f938a13f2d6","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IH2LS2DXBTYOCWGAKFMBF3HTWWXPBEFL/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/15/1","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00018.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"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":14.49},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 8.2.3612"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-08T20:54:02.957252Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-27179","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2021-3778","parents":[{"from":"CVE-2021-3778","to":"CVE-2021-3974","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/regexp_nfa.c"],"commits":["https://github.com/vim/vim/commit/65b605665997fad54ef39a93199e305af2fe4d7f","https://github.com/vim/vim/commit/64066b9acd9f8cffdf4840f797748f938a13f2d6"],"basis":"rarely changed file"}]}]}}