{"id":"CVE-2022-2522","title":"Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061.","summary":"Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061.","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"],"vendor":"vim","product":"vim","affected":["vim < 9.0.0061"],"patched":["vim 9.0.0061"],"published":"2022-07-25","updated":"2026-10-08","sourceUpdated":"2026-10-08T21:17:48.383","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-2522","references":[{"url":"https://github.com/vim/vim/commit/5fa9f23a63651a8abdb074b4fc2ec9b1adc6b089","label":"security@huntr.dev"},{"url":"https://github.com/vim/vim/commit/b9e717367c395490149495cf375911b5d9de889e","label":"security@huntr.dev"},{"url":"https://huntr.dev/bounties/3a2d83af-9542-4d93-8784-98b115135a22","label":"security@huntr.dev"},{"url":"https://huntr.dev/bounties/3a2d83af-9542-4d93-8784-98b115135a22/","label":"security@huntr.dev"},{"url":"https://security.gentoo.org/glsa/202305-16","label":"security@huntr.dev"},{"url":"https://github.com/vim/vim/commit/5fa9f23a63651a8abdb074b4fc2ec9b1adc6b089","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/vim/vim/commit/b9e717367c395490149495cf375911b5d9de889e","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.dev/bounties/3a2d83af-9542-4d93-8784-98b115135a22","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.dev/bounties/3a2d83af-9542-4d93-8784-98b115135a22/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202305-16","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.00581,"epssPercentile":0.45992,"ingestedAt":"2026-10-08T22:11:53.758Z","slug":"CVE-2022-2522","body":"## Overview\n\nHeap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061.\n\n## Affected\n\n- `vim < 9.0.0061`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `vim 9.0.0061`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}