CVE-2022-1785 Out-of-bounds Write in vim/vim

High 7.3 Published Updated

An out-of-bounds write vulnerability in Vim allows attackers to execute arbitrary code or cause a denial of service via crafted files.

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

CVE-2022-1785 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 19 May 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.4977.

Weakness: CWE-787

Which versions are affected by CVE-2022-1785?

It affects 2 products.

Products include Debian Debian Linux, Vim Vim.

How do I fix CVE-2022-1785?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-9790, DEBIAN-CVE-2022-1785, GHSA-c8gc-wmr9-fq4m, UBUNTU-CVE-2022-1785.

Is CVE-2022-1785 in your software?

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

Check your SBOMs for free