{"id":"CVE-2021-3927","title":"vim is vulnerable to Heap-based Buffer Overflow","summary":"vim is vulnerable to Heap-based Buffer Overflow","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-122","CWE-787"],"vendor":"vim","product":"vim","affected":["vim < 8.2.3581","fedora = 33","fedora = 34","fedora = 35","debian_linux = 9.0","debian_linux = 10.0"],"patched":["vim 8.2.3581"],"published":"2021-11-05","updated":"2026-10-08","sourceUpdated":"2026-10-08T21:17:41.363","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-3927","references":[{"url":"http://www.openwall.com/lists/oss-security/2022/01/15/1","label":"security@huntr.dev"},{"url":"https://github.com/vim/vim/commit/0b5b06cb4777d1401fdf83e7d48d287662236e7e","label":"security@huntr.dev"},{"url":"https://huntr.dev/bounties/9c2b2c82-48bb-4be9-ab8f-a48ea252d1b0","label":"security@huntr.dev"},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html","label":"security@huntr.dev"},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html","label":"security@huntr.dev"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BCQWPEY2AEYBELCMJYHYWYCD3PZVD2H7/","label":"security@huntr.dev"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/","label":"security@huntr.dev"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PGW56Z6IN4UVM3E5RXXF4G7LGGTRBI5C/","label":"security@huntr.dev"},{"url":"https://security.gentoo.org/glsa/202208-32","label":"security@huntr.dev"},{"url":"http://www.openwall.com/lists/oss-security/2022/01/15/1","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/vim/vim/commit/0b5b06cb4777d1401fdf83e7d48d287662236e7e","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.dev/bounties/9c2b2c82-48bb-4be9-ab8f-a48ea252d1b0","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BCQWPEY2AEYBELCMJYHYWYCD3PZVD2H7/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PGW56Z6IN4UVM3E5RXXF4G7LGGTRBI5C/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202208-32","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.01708,"epssPercentile":0.76625,"ingestedAt":"2026-10-08T22:11:53.741Z","slug":"CVE-2021-3927","body":"## Overview\n\nvim is vulnerable to Heap-based Buffer Overflow\n\n## Affected\n\n- `vim < 8.2.3581`\n- `fedora = 33`\n- `fedora = 34`\n- `fedora = 35`\n- `debian_linux = 9.0`\n- `debian_linux = 10.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `vim 8.2.3581`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.3,"exploitation":0,"ransomware":0},"changes":[]}