{"id":"CVE-2021-4019","state":"PUBLISHED","title":"Heap-based Buffer Overflow in vim/vim","description":"vim is vulnerable to Heap-based Buffer Overflow","publishedAt":"2021-12-01T00:00:00.000Z","updatedAt":"2025-11-03T20:33:51.211Z","severity":{"score":7.1,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","source":"@huntrdev"},"assigner":"@huntrdev","products":["vim vim/vim"],"affected":[{"vendor":"vim","product":"vim/vim","versions":[{"version":"unspecified","status":"affected","lessThan":"8.2.3669","versionType":"custom"}]}],"references":["https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92","https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/","http://www.openwall.com/lists/oss-security/2022/01/15/1","https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html","https://security.gentoo.org/glsa/202208-32","https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html","https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T19:49:23.890Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/4xxx/CVE-2021-4019.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-4019","state":"PUBLISHED","datePublished":"2021-12-01T00:00:00.000Z","dateUpdated":"2025-11-03T20:33:51.211Z","assignerShortName":"@huntrdev","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2021-11-25T00:00:00.000Z"},"containers":{"cna":{"title":"Heap-based Buffer Overflow in vim/vim","descriptions":[{"lang":"en","value":"vim is vulnerable to Heap-based Buffer Overflow"}],"affected":[{"vendor":"vim","product":"vim/vim","versions":[{"version":"unspecified","status":"affected","lessThan":"8.2.3669","versionType":"custom"}]}],"references":[{"url":"https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92"},{"url":"https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/","name":"FEDORA-2021-469afb66c9","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/","name":"FEDORA-2021-b0ac29efb1","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/15/1","name":"[oss-security] 20220114 Re: 3 new CVE's in vim","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html","name":"[debian-lts-announce] 20220311 [SECURITY] [DLA 2947-1] vim security update","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202208-32","name":"GLSA-202208-32","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html","name":"[debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update","tags":["mailing-list"]}],"metrics":[{"cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","type":"CWE","lang":"en","description":"CWE-122 Heap-based Buffer Overflow"}]}],"providerMetadata":{"shortName":"@huntrdev","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2022-11-08T00:00:00.000Z"},"source":{"advisory":"d8798584-a6c9-4619-b18f-001b9a6fca92","discovery":"EXTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92","tags":["x_transferred"]},{"url":"https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/","name":"FEDORA-2021-469afb66c9","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/","name":"FEDORA-2021-b0ac29efb1","tags":["vendor-advisory","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/15/1","name":"[oss-security] 20220114 Re: 3 new CVE's in vim","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html","name":"[debian-lts-announce] 20220311 [SECURITY] [DLA 2947-1] vim security update","tags":["mailing-list","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-32","name":"GLSA-202208-32","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html","name":"[debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:33:51.211Z"}}]}}}