CVE-2022-1160 heap buffer overflow in get_one_sourceline in vim/vim
A heap 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-1160?
CVE-2022-1160 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 30 Mar 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 buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.
Which versions are affected by CVE-2022-1160?
It affects 2 products.
Products include Fedoraproject Fedora, Vim Vim.
How do I fix CVE-2022-1160?
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-1160 being exploited?
There is no known exploitation of CVE-2022-1160 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2022-1160, AZL-9211, GHSA-rv49-vpf7-3h48.