High severity · published Jun 19, 2022
CVE-2022-2125
Heap-based Buffer Overflow in vim/vim
7.8
CVSS
1.6%
EPSS
No
On KEV
Description
Heap-based Buffer Overflow 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.6% · higher than 76% 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
FE
Fedora · Fedoraproject
35; 36 · source: NVD
VI
Vim · Vim
before 8.2.5122 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-2125
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-2125
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/0e8e938d497260dd57be67b4966cb27a5f72376f
Exploit
https://huntr.dev/bounties/17dab24d-beec-464d-9a72-5b6b11283705
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
