Critical severity · published Jan 21, 2022
CVE-2022-0318
Heap-based Buffer Overflow in vim/vim prior to 8.2
9.8
CVSS
2%
EPSS
No
On KEV
Description
Heap-based Buffer Overflow in vim/vim prior to 8.2.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
macOS · Apple
before 13.0 · source: NVD
DL
Debian Linux · Debian
10.0 · source: NVD
VI
Vim · Vim
before 8.2.4151 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-0318
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-0318
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
Patch
https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc
Exploit
https://huntr.dev/bounties/0d10ba02-b138-4e68-a284-67f781a62d08
Mailing List
https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html
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
