What’s Vulnerable › Vulnerabilities
CVE-2022-0351: Access of Memory Location Before Start of Buffer in vim/vim
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-01-25 · updated 2026-10-08
- Weakness: CWE-786
Description
Access of Memory Location Before Start of Buffer in GitHub repository vim/vim prior to 8.2.
Affected products
- Apple macOS: before 12.6 — fixed in 12.6
- Debian Linux: 9.0, 10.0
- vim/vim: before 8.2 — fixed in 8.2
How to fix
Upgrade to a fixed version: Apple macOS 12.6; vim/vim 8.2. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2022/Oct/28
- http://seclists.org/fulldisclosure/2022/Oct/41
- http://seclists.org/fulldisclosure/2022/Oct/43
- https://github.com/vim/vim/commit/fe6fb267e6ee5c5da2f41889e4e0e0ac5bf4b89d
- https://huntr.dev/bounties/8b36db58-b65c-4298-be7f-40b9e37fd161
- https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
- https://security.gentoo.org/glsa/202208-32
- https://support.apple.com/kb/HT213444
- https://support.apple.com/kb/HT213488
- http://seclists.org/fulldisclosure/2022/Oct/28
- http://seclists.org/fulldisclosure/2022/Oct/41
Get alerted when CVE-2022-0351 or the next vulnerability affects your stack