CVE-2022-2042 Use After Free in vim/vim
A use-after-free vulnerability in Vim allows attackers to execute arbitrary code or cause a denial of service via crafted files.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-2042?
CVE-2022-2042 is a high-severity use after free vulnerability in Apple Macos, published on 10 Jun 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Use After Free in GitHub repository vim/vim prior to 8.2.
Weakness: CWE-416
Which versions are affected by CVE-2022-2042?
It affects 2 products.
Products include Apple Macos, Vim Vim.
How do I fix CVE-2022-2042?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-2042 being exploited?
There is no known exploitation of CVE-2022-2042 in the wild and no public exploit code.
Other vulnerabilities in Apple Macos
Sources
Also known as CLSA-2022-1655901379, CLSA-2022-1655901698, CLSA-2022-1655901847, DEBIAN-CVE-2022-2042, GHSA-jx8j-jfm7-h5wj, UBUNTU-CVE-2022-2042 and 1 more.