#VU64509 Use-after-free in Vim - CVE-2022-1898

 

#VU64509 Use-after-free in Vim - CVE-2022-1898

Published: June 20, 2022


Vulnerability identifier: #VU64509
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-1898
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
Vim
Software vendor:
Vim.org

Description

The vulnerability allows a local attacker to execute arbitrary code on the system.

The vulnerability exists due to Illegal memory access and leads to a use-after-free vulnerability in the find_pattern_in_path() function. A local attacker can trick the victim into opening a specially crafted file, leading to a system crash or code execution.


Remediation

Install updates from vendor's website.

External links