CVE-2023-48231 Use-After-Free in win_close() in vim

Low 3.9 Published Updated

A use-after-free flaw in Vim's window closing logic allows attackers to crash the application, though code execution is not proven.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-48231?

CVE-2023-48231 is a low-severity use after free vulnerability in Fedoraproject Fedora, published on 16 Nov 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

Vim is an open source command line text editor. When closing a window, vim may try to access already freed window structure. Exploitation beyond crashing the application has not been shown to be viable. This issue has been addressed in commit `25aabc2b` which has been included in release version 9.0.2106. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-416

Which versions are affected by CVE-2023-48231?

It affects 2 products.

Products include Fedoraproject Fedora, Vim Vim.

How do I fix CVE-2023-48231?

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

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2023-48231, AZL-32025, BELL-CVE-2023-48231, DEBIAN-CVE-2023-48231, ECHO-bdcf-b026-4ab2, GHSA-8g46-v9ff-c765 and 2 more.

Is CVE-2023-48231 in your software?

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

Check your SBOMs for free