CVE-2024-47814 use-after-free when closing buffers in Vim

Low 3.9 Published Updated

A use-after-free in Vim can cause a crash when closing buffers with specific auto commands, requiring user configuration to exploit.

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-2024-47814?

CVE-2024-47814 is a low-severity use after free vulnerability in Netapp Bootstrap Os, published on 7 Oct 2024. 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. A use-after-free was found in Vim < 9.1.0764. When closing a buffer (visible in a window) a BufWinLeave auto command can cause an use-after-free if this auto command happens to re-open the same buffer in a new split window. Impact is low since the user must have intentionally set up such a strange auto command and run some buffer unload commands. However this may lead to a crash. This issue has been addressed in version 9.1.0764 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-416

Which versions are affected by CVE-2024-47814?

It affects 2 products.

Products include Netapp Bootstrap Os, Vim Vim.

How do I fix CVE-2024-47814?

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-2024-47814 being exploited?

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

All Netapp Bootstrap Os vulnerabilities

Sources

Also known as ALPINE-CVE-2024-47814, AZL-50138, AZL-50176, BELL-CVE-2024-47814, CLSA-2025-1736503187, DEBIAN-CVE-2024-47814 and 5 more.

Is CVE-2024-47814 in your software?

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

Check your SBOMs for free