CVE-2022-0407 Heap-based Buffer Overflow in vim/vim
A heap-based buffer overflow in Vim allows attackers to execute arbitrary code or cause a denial of service via crafted input.
- 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-0407?
CVE-2022-0407 is a medium-severity memory corruption vulnerability in Vim Vim, published on 30 Jan 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
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
Which versions are affected by CVE-2022-0407?
It affects 1 product.
Products include Vim Vim.
How do I fix CVE-2022-0407?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-0407 being exploited?
There is no known exploitation of CVE-2022-0407 in the wild and no public exploit code.
Other vulnerabilities in Vim Vim
Sources
Also known as ALPINE-CVE-2022-0407, AZL-8458, DEBIAN-CVE-2022-0407, GHSA-7qcx-j2px-v82h, UBUNTU-CVE-2022-0407.