CVE-2022-3591 Use After Free in vim/vim
A use-after-free flaw 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
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-3591?
CVE-2022-3591 is a high-severity use after free vulnerability in Vim Vim, published on 2 Dec 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 9.0.0789.
Weakness: CWE-416
Which versions are affected by CVE-2022-3591?
It affects 2 products.
Products include Neovim Neovim, Vim Vim.
How do I fix CVE-2022-3591?
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-3591 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3591 exists.
Other vulnerabilities in Vim Vim
Sources
Also known as CLSA-2022-1671124332, CLSA-2022-1671124649, CLSA-2022-1671126265, DEBIAN-CVE-2022-3591, GHSA-c83f-4r5r-pqcw, UBUNTU-CVE-2022-3591.