High severity · published Jun 10, 2022
CVE-2022-2042
Use After Free in vim/vim
7.8
CVSS
1.5%
EPSS
No
On KEV
Description
Use After Free in GitHub repository vim/vim prior to 8.2.
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)1.5% · higher than 74% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
macOS · Apple
before 11.7; 12.0 before 12.6 · source: NVD
VI
vim/vim · vim
before 8.2 · source: vendor
VI
Vim · Vim
before 8.2.5072 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-2042
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-2042
Mailing List
http://seclists.org/fulldisclosure/2022/Oct/28
Mailing List
http://seclists.org/fulldisclosure/2022/Oct/41
Mailing List
http://seclists.org/fulldisclosure/2022/Oct/43
Mailing List
http://seclists.org/fulldisclosure/2022/Oct/45
Patch
https://github.com/vim/vim/commit/2813f38e021c6e6581c0c88fcf107e41788bc835
Exploit
https://huntr.dev/bounties/8628b4cd-4055-4059-aed4-64f7fdc10eba
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
