Low severity · published Jan 10, 2022
CVE-2022-0158
vim is vulnerable to Heap-based Buffer Overflow
3.3
CVSS
1.7%
EPSS
No
On KEV
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.7% · higher than 77% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
macOS · Apple
before 12.3; 11.0 before 11.6.8 · source: NVD
FE
Fedora · Fedoraproject
34; 35 · source: NVD
VI
Vim · Vim
before 8.2.4049 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-0158
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-0158
Mailing List
http://seclists.org/fulldisclosure/2022/Jul/13
Mailing List
http://seclists.org/fulldisclosure/2022/Mar/29
Mailing List
http://www.openwall.com/lists/oss-security/2022/01/15/1
Patch
https://github.com/vim/vim/commit/5f25c3855071bd7e26255c68bf458b1b5cf92f39
Exploit
https://huntr.dev/bounties/ac5d7005-07c6-4a0a-b251-ba9cdbf6738b
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/
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
