CVE-2023-5535 Use After Free in vim/vim

High 7.8 Published Updated

A use-after-free flaw in Vim allows attackers to potentially execute arbitrary code or cause a denial of service 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-2023-5535?

CVE-2023-5535 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 11 Oct 2023. 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 GitHub repository vim/vim prior to v9.0.2010.

Weakness: CWE-416

Which versions are affected by CVE-2023-5535?

It affects 3 products.

Products include Fedoraproject Fedora, Neovim Neovim, Vim Vim.

How do I fix CVE-2023-5535?

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-2023-5535 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5535 exists.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2023-5535, AZL-31499, BELL-CVE-2023-5535, DEBIAN-CVE-2023-5535, ECHO-61be-0cf4-6a99, GHSA-9h8h-jwrx-hxgg and 1 more.

Is CVE-2023-5535 in your software?

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

Check your SBOMs for free