High severity · published Dec 19, 2021
CVE-2021-4136
Heap-based Buffer Overflow in vim/vim
7.8
CVSS
2%
EPSS
No
On KEV
Description
vim is vulnerable to Heap-based Buffer Overflow
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
macOS · Apple
11.0 before 11.6.6; 12.0 before 12.3 · source: NVD
VI
vim/vim · vim
before 8.2.3846 · source: vendor
FE
Fedora · Fedoraproject
34; 35 · source: NVD
MO
Mac OS X · Apple
10.15 before 10.15.7; 10.15.7; 10.15.7; 10.15.7; 10.15.7; 10.15.7; +11 more · source: NVD
VI
Vim · Vim
before 8.2.3847 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-4136
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-4136
Mailing List
http://seclists.org/fulldisclosure/2022/Jul/14
Mailing List
http://seclists.org/fulldisclosure/2022/Mar/29
Mailing List
http://seclists.org/fulldisclosure/2022/May/35
Mailing List
http://www.openwall.com/lists/oss-security/2022/01/15/1
Patch
https://github.com/vim/vim/commit/605ec91e5a7330d61be313637e495fa02a6dc264
Exploit
https://huntr.dev/bounties/5c6b93c1-2d27-4e98-a931-147877b8c938
More from macOS
10.0
CVE-2025-43300
Apple iOS, iPadOS, and macOS Out-of-Bounds Write Vulnerability
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2025-24085
Apple Multiple Products Use-After-Free Vulnerability
9.8
CVE-2026-65400
Apple macOS Improper Authentication Vulnerability
9.8
CVE-2025-31200
Apple Multiple Products Memory Corruption Vulnerability
