{"id":"CVE-2021-3968","title":"vim is vulnerable to Heap-based Buffer Overflow","summary":"vim is vulnerable to Heap-based Buffer Overflow","severity":"high","cvss":8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-122","CWE-787","CWE-119"],"vendor":"vim","product":"vim","affected":["vim >= 8.2.3430, < 8.2.3610","fedora = 34","fedora = 35"],"patched":["vim 8.2.3610"],"published":"2021-11-19","updated":"2026-10-08","sourceUpdated":"2026-10-08T22:17:11.893","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-3968","references":[{"url":"http://www.openwall.com/lists/oss-security/2022/01/15/1","label":"security@huntr.dev"},{"url":"https://github.com/vim/vim/commit/a062006b9de0b2947ab5fb376c6e67ef92a8cd69","label":"security@huntr.dev"},{"url":"https://huntr.dev/bounties/00d62924-a7b4-4a61-ba29-acab2eaa1528","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/IH2LS2DXBTYOCWGAKFMBF3HTWWXPBEFL/","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/a062006b9de0b2947ab5fb376c6e67ef92a8cd69","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.dev/bounties/00d62924-a7b4-4a61-ba29-acab2eaa1528","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/IH2LS2DXBTYOCWGAKFMBF3HTWWXPBEFL/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202208-32","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-3968.json"},{"url":"https://access.redhat.com/security/cve/CVE-2021-3968"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2025056"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3968"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3968"}],"tags":["nvd","csaf","vex","red-hat","score-dispute"],"epss":0.02231,"epssPercentile":0.82226,"ingestedAt":"2026-10-08T23:16:47.326Z","scores":{"nvd":8,"vendor":2.9},"slug":"CVE-2021-3968","body":"## Overview\n\nvim is vulnerable to Heap-based Buffer Overflow\n\n## Affected\n\n- `vim >= 8.2.3430, < 8.2.3610`\n- `fedora = 34`\n- `fedora = 35`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `vim 8.2.3610`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 9 · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-3968.json)","depth":"twilight","depthScore":44,"depthScoreParts":{"impact":44,"likelihood":0.4,"exploitation":0,"ransomware":0},"changes":[]}