CVE-2022-2862 Use After Free in vim/vim

High 7.6 Published Updated

Attackers can exploit a use-after-free flaw in Vim to potentially execute arbitrary code or cause a crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-2862?

CVE-2022-2862 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 17 Aug 2022. An attacker can exploit it over the internet without logging in, 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.0221.

Weakness: CWE-416

Which versions are affected by CVE-2022-2862?

It affects 2 products.

Products include Fedoraproject Fedora, Vim Vim.

How do I fix CVE-2022-2862?

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-2862 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-10571, DEBIAN-CVE-2022-2862, GHSA-9666-4jm7-qvr8, UBUNTU-CVE-2022-2862.

Is CVE-2022-2862 in your software?

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

Check your SBOMs for free