What’s Vulnerable › Vulnerabilities
CVE-2021-4193: Out-of-bounds Read in vim/vim
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-12-31 · updated 2026-06-17
- Weakness: CWE-125
Description
vim is vulnerable to Out-of-bounds Read
Affected products
- macOS: 10.15.7, 10.15.7-security_update_2020-001, 10.15.7-security_update_2021-001, 10.15.7-security_update_2021-002, 10.15.7-security_update_2021-003, 10.15.7-security_update_2021-004 (+7)
- Apple macOS: before 12.3; from 11.0 before 11.6.6; 10.15.7-security_update_2022-004 — fixed in 11.6.6, 12.3
- Debian Linux: 9.0, 10.0
- Fedoraproject Fedora: 34
- vim/vim: before 8.2.3950 — fixed in 8.2.3950
How to fix
Upgrade to a fixed version: Apple macOS 11.6.6, 12.3; vim/vim 8.2.3950. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2022/Jul/14
- http://seclists.org/fulldisclosure/2022/Mar/29
- http://seclists.org/fulldisclosure/2022/May/35
- http://www.openwall.com/lists/oss-security/2022/01/15/1
- https://github.com/vim/vim/commit/94f3192b03ed27474db80b4d3a409e107140738b
- https://huntr.dev/bounties/92c1940d-8154-473f-84ce-0de43b0c2eb0
- https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/
- https://security.gentoo.org/glsa/202208-32
- https://support.apple.com/kb/HT213183
- https://support.apple.com/kb/HT213256
Get alerted when CVE-2021-4193 or the next vulnerability affects your stack