What’s Vulnerable › Vulnerabilities
CVE-2022-1420: Use of Out-of-range Pointer Offset in vim/vim
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-04-21 · updated 2026-06-17
- Weakness: CWE-823
Description
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4774.
Affected products
- Apple macOS: before 13.0 — fixed in 13.0
- Fedoraproject Fedora: 34, 35
- vim/vim: before 8.2.4774 — fixed in 8.2.4774
How to fix
Upgrade to a fixed version: Apple macOS 13.0; vim/vim 8.2.4774. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2022/Oct/28
- http://seclists.org/fulldisclosure/2022/Oct/41
- https://github.com/vim/vim/commit/8b91e71441069b1dde9ac9ff9d9a829b1b4aecca
- https://huntr.dev/bounties/a4323ef8-90ea-4e1c-90e9-c778f0ecf326
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KVPZVE2CIE2NGCHZDMEHPBWN3LK2UQAA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X6E457NYOIRWBJHKB7ON44UY5AVTG4HU/
- https://security.gentoo.org/glsa/202208-32
- https://security.gentoo.org/glsa/202305-16
- https://support.apple.com/kb/HT213488
- http://seclists.org/fulldisclosure/2022/Oct/28
- http://seclists.org/fulldisclosure/2022/Oct/41
- https://github.com/vim/vim/commit/8b91e71441069b1dde9ac9ff9d9a829b1b4aecca
Get alerted when CVE-2022-1420 or the next vulnerability affects your stack