CVE-2024-47814
"Vim Use-After-Free Buffer Crash Vulnerability"
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.
INFO
Published Date :
Oct. 7, 2024, 10:15 p.m.
Last Modified :
Aug. 18, 2025, 5:08 p.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
The following products are affected by CVE-2024-47814
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | LOW | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Vim packages to version 9.1.0764 or later.
- Restart the application or service after updating.
Public PoC/Exploit Available at Github
CVE-2024-47814 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-47814
.
URL | Resource |
---|---|
https://github.com/vim/vim/commit/51b62387be93c65fa56bbabe1c3 | Patch |
https://github.com/vim/vim/security/advisories/GHSA-rj48-v4mq-j4vg | Vendor Advisory |
https://security.netapp.com/advisory/ntap-20250411-0009/ | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-47814
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-47814
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-47814
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-47814
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 18, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Added CPE Configuration OR *cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* versions up to (excluding) 9.1.0764 Added CPE Configuration AND OR *cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* Added Reference Type GitHub, Inc.: https://github.com/vim/vim/commit/51b62387be93c65fa56bbabe1c3 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/vim/vim/security/advisories/GHSA-rj48-v4mq-j4vg Types: Vendor Advisory Added Reference Type CVE: https://security.netapp.com/advisory/ntap-20250411-0009/ Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Apr. 11, 2025
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20250411-0009/ -
CVE Received by [email protected]
Oct. 07, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/vim/vim/security/advisories/GHSA-rj48-v4mq-j4vg [No types assigned] Added Reference GitHub, Inc. https://github.com/vim/vim/commit/51b62387be93c65fa56bbabe1c3 [No types assigned] Added CWE GitHub, Inc. CWE-416 Added CVSS V3.1 GitHub, Inc. AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L