CVE-2022-2845 Improper Validation of Specified Quantity in Input in vim/vim

High 7.8 Published Updated

An attacker can cause a denial of service in Vim by providing improperly validated input quantities, affecting users of the text editor.

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-2845?

CVE-2022-2845 is a high-severity vulnerability in Fedoraproject Fedora, published on 17 Aug 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

Improper Validation of Specified Quantity in Input in GitHub repository vim/vim prior to 9.0.0218.

Weakness: CWE-1284

Which versions are affected by CVE-2022-2845?

It affects 2 products.

Linux distribution packages (1)
vim openSUSE:TumbleweedAll versions9.0.0224-1.1

Products include Fedoraproject Fedora, Vim Vim.

How do I fix CVE-2022-2845?

Upgrade to a fixed version.

Is CVE-2022-2845 being exploited?

There is no known exploitation of CVE-2022-2845 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-10569, DEBIAN-CVE-2022-2845, GHSA-5vhq-wv6w-vj48, OESA-2022-1865, UBUNTU-CVE-2022-2845, openSUSE-SU-2024:12275-1.

Is CVE-2022-2845 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free