CVE-2024-47814 use-after-free when closing buffers in Vim
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.
Other vulnerabilities in Netapp Bootstrap Os
- CVE-2024-43398 REXML denial of service vulnerability
- CVE-2025-30691 Security feature bypass in Oracle Java SE
- CVE-2024-43790 heap-buffer-overflow in do_search() in Vim < 9.1.0689
- CVE-2025-29768 Vim vulnerable to potential data loss with zip.vim and special crafted zip files
- CVE-2024-39908 Denial of service in REXML
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.