CVE-2022-2581 Out-of-bounds Read in vim/vim

High 7.8 Published Updated

An out-of-bounds read in Vim allows attackers to cause a crash or potentially execute arbitrary code via crafted files.

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

CVE-2022-2581 is a high-severity memory corruption vulnerability in Vim Vim, published on 1 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

Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0104.

Weakness: CWE-125

Which versions are affected by CVE-2022-2581?

It affects 1 product.

Products include Vim Vim.

How do I fix CVE-2022-2581?

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

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

All Vim Vim vulnerabilities

Sources

Also known as AZL-10446, CLSA-2022-1660761469, CLSA-2022-1660762683, CLSA-2022-1661174726, DEBIAN-CVE-2022-2581, GHSA-jjq3-r3c2-mg67 and 1 more.

Is CVE-2022-2581 in your software?

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

Check your SBOMs for free