CVE-2022-2182 Heap-based Buffer Overflow in vim/vim

High 7.8 Published Updated

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
Not needed
Fix
Available

What is CVE-2022-2182?

CVE-2022-2182 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 23 Jun 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 8.2.

Weakness: CWE-122

Which versions are affected by CVE-2022-2182?

It affects 2 products.

Products include Fedoraproject Fedora, Vim Vim.

How do I fix CVE-2022-2182?

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

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-9969, DEBIAN-CVE-2022-2182, GHSA-25wm-p4q5-cvgw, UBUNTU-CVE-2022-2182.

Is CVE-2022-2182 in your software?

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

Check your SBOMs for free