CVE-2022-1720 Buffer Over-read in function grab_file_name in vim/vim

Medium 6.6 Published Updated

A buffer over-read in Vim allows attackers to cause crashes, modify memory, or potentially execute arbitrary code.

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

CVE-2022-1720 is a medium-severity memory corruption vulnerability in Apple Macos, published on 16 May 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer Over-read in function grab_file_name in GitHub repository vim/vim prior to 8.2.4956. This vulnerability is capable of crashing the software, memory modification, and possible remote execution.

Weakness: CWE-125, CWE-126

Which versions are affected by CVE-2022-1720?

It affects 4 products.

Products include Apple Macos, Debian Debian Linux, Fedoraproject Fedora, Vim Vim.

How do I fix CVE-2022-1720?

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

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

All Apple Macos vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-1720, GHSA-r7j4-vhf6-j4qx, UBUNTU-CVE-2022-1720.

Is CVE-2022-1720 in your software?

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

Check your SBOMs for free