CVE-2022-1616 Use after free in append_command in vim/vim

High 7.3 Published Updated

A use-after-free flaw in Vim allows attackers to crash the application or potentially execute arbitrary code via crafted input.

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

CVE-2022-1616 is a high-severity use after free vulnerability in Apple Macos, published on 7 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

Use after free in append_command in GitHub repository vim/vim prior to 8.2.4895. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution

Weakness: CWE-416

Which versions are affected by CVE-2022-1616?

It affects 4 products.

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

How do I fix CVE-2022-1616?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-1616 being exploited?

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

All Apple Macos vulnerabilities

Sources

Also known as AZL-9737, DEBIAN-CVE-2022-1616, GHSA-9xqg-wjcv-qqxq, UBUNTU-CVE-2022-1616.

Is CVE-2022-1616 in your software?

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

Check your SBOMs for free