{"id":"CVE-2022-2304","title":"Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.","summary":"Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.","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-121","CWE-787"],"vendor":"vim","product":"vim","affected":["vim < 9.0.0035","fedora = 35","fedora = 36","debian_linux = 10.0"],"patched":["vim 9.0.0035"],"published":"2022-07-05","updated":"2026-10-08","sourceUpdated":"2026-10-08T22:17:21.373","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-2304","references":[{"url":"https://github.com/vim/vim/commit/54e5fed6d27b747ff152cdb6edfb72ff60e70939","label":"security@huntr.dev"},{"url":"https://huntr.dev/bounties/eb7402f3-025a-402f-97a7-c38700d9548a","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/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/","label":"security@huntr.dev"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UXPO5EHDV6J4B27E65DOQGZFELUFPRSK/","label":"security@huntr.dev"},{"url":"https://security.gentoo.org/glsa/202208-32","label":"security@huntr.dev"},{"url":"https://security.gentoo.org/glsa/202305-16","label":"security@huntr.dev"},{"url":"https://github.com/vim/vim/commit/54e5fed6d27b747ff152cdb6edfb72ff60e70939","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.dev/bounties/eb7402f3-025a-402f-97a7-c38700d9548a","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.debian.org/debian-lts-announce/2025/03/msg00023.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UXPO5EHDV6J4B27E65DOQGZFELUFPRSK/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202208-32","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202305-16","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.01489,"epssPercentile":0.73292,"ingestedAt":"2026-10-08T23:16:47.346Z","slug":"CVE-2022-2304","body":"## Overview\n\nStack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.\n\n## Affected\n\n- `vim < 9.0.0035`\n- `fedora = 35`\n- `fedora = 36`\n- `debian_linux = 10.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `vim 9.0.0035`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.3,"exploitation":0,"ransomware":0},"changes":[]}