{"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"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-2522.json"},{"url":"https://access.redhat.com/security/cve/CVE-2022-2522"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2112299"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2522"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2522"}],"tags":["nvd","csaf","vex","red-hat","cve.org"],"epss":0.00581,"epssPercentile":0.47539,"ingestedAt":"2026-10-08T22:11:53.758Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-08T20:53:02.972104Z"},"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`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-10-08 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-2522.json)","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}