Back to Database
Status published
High
CVE-2021-4166
Out-of-bounds Read in vim/vim
Vulnerability Description
vim is vulnerable to Out-of-bounds Read
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-4166
Credits & Attribution
No credits recorded in the NVD database.
References
- https://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035
- https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2EY2VFBU3YGGWI5BW4XKT3F37MYGEQUD/
- http://www.openwall.com/lists/oss-security/2022/01/15/1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/
- https://support.apple.com/kb/HT213183
- http://seclists.org/fulldisclosure/2022/Mar/29
- https://support.apple.com/kb/HT213256
- http://seclists.org/fulldisclosure/2022/May/35
- https://support.apple.com/kb/HT213343
- http://seclists.org/fulldisclosure/2022/Jul/14
- https://security.gentoo.org/glsa/202208-32
More from vim
View All →CVE-2025-66476
Vim for Windows Uncontrolled Search Path Element Remote Code Execution Vulnerability
High
7.8
CVE-2025-55158
Vim double-free vulnerability during Vim9 script import operations
Medium
6.9
CVE-2025-55157
Vim heap use-after-free vulnerability when processing recursive tuple data types
Medium
6.9
CVE-2025-53906
Vim has path traversal issue with zip.vim and special crafted zip archives
Medium
4.1
CVE-2025-53905
Vim has path traversial issue with tar.vim and special crafted tar files
Medium
4.1
Affected Vendor
Affected Software
vim/vim
Vulnerable Versions:
unspecified
Timeline
Official Publish:
December 25th, 2021
Last Modified:
August 3rd, 2024
Added to House:
July 21st, 2026
CVSS Vectors
V3:
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H