Medium severity · published Aug 1, 2024
CVE-2024-41965
Vim is an open source command line text editor
4.2
CVSS
0.3%
EPSS
No
On KEV
Description
Vim is an open source command line text editor. double-free in dialog_changed() in Vim < v9.1.0648. When abandoning a buffer, Vim may ask the user what to do with the modified buffer. If the user wants the changed buffer to be saved, Vim may create a new Untitled file, if the buffer did not have a name yet. However, when setting the buffer name to Unnamed, Vim will falsely free a pointer twice, leading to a double-free and possibly later to a heap-use-after-free, which can lead to a crash. The issue has been fixed as of Vim patch v9.1.0648.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HC
Hci Compute Node · Netapp
All versions, or not specified · source: NVD
NE
Neovim · Neovim
0.10.0 before 0.10.2 · source: NVD
VI
Vim · Vim
before 9.1.0648 · source: NVD
Affected product
NE
Neovim
Neovim
More from Neovim
8.6
CVE-2019-12735
getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by…
7.8
CVE-2023-5535
Use After Free in GitHub repository vim/vim prior to v9.0.2010
7.8
CVE-2023-4781
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873
7.8
CVE-2023-4752
Use After Free in GitHub repository vim/vim prior to 9.0.1858
7.8
CVE-2023-4750
Use After Free in GitHub repository vim/vim prior to 9.0.1857