CVE-2022-1771 Uncontrolled Recursion in vim/vim

Medium 5.5 Published Updated

An attacker can cause a denial of service in Vim via uncontrolled recursion, requiring users to upgrade to a patched version.

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

CVE-2022-1771 is a medium-severity denial of service vulnerability in Vim Vim, published on 18 May 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

Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.

Weakness: CWE-674

Which versions are affected by CVE-2022-1771?

It affects 1 product.

Products include Vim Vim.

How do I fix CVE-2022-1771?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-1771 being exploited?

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

All Vim Vim vulnerabilities

Sources

Also known as AZL-9789, DEBIAN-CVE-2022-1771, GHSA-vppj-q42f-96w5, UBUNTU-CVE-2022-1771.

Is CVE-2022-1771 in your software?

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

Check your SBOMs for free