CVE-2022-3491 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
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-3491?
CVE-2022-3491 is a medium-severity memory corruption vulnerability in Vim Vim, published on 3 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0742.
Which versions are affected by CVE-2022-3491?
It affects 1 product.
Products include Vim Vim.
How do I fix CVE-2022-3491?
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-3491 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3491 exists.
Other vulnerabilities in Vim Vim
Sources
Also known as DEBIAN-CVE-2022-3491, GHSA-7g7x-hhf5-323c, UBUNTU-CVE-2022-3491.