cbcvebase.
CVE-2024-41965
published 2024-08-01

CVE-2024-41965: 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…

PriorityP418medium4.2CVSS 3.1
AVLACHPRLUIRSUCLILAL
EPSS
0.29%
20.9th percentile
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.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianvim< vim 2:9.1.0698-1 (forky)vim 2:9.1.0698-1 (forky)
msrcazl3_vim_9.0.2190-4_on_azure_linux_3.0
msrcazl3_vim_9.0.2190-6_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_vim_9.0.2121-4_on_cbl_mariner_2.0
msrccbl2_vim_9.0.2121-5_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
vimvim< 9.1.06489.1.0648
vimvim>= 0 < 2:9.1.0698-12:9.1.0698-1
vimvim>= 0 < 2:9.1.0698-12:9.1.0698-1

CVSS provenance

nvdv3.14.2MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
osv4.2MEDIUM
vendor_debian4.2LOW
vendor_msrc4.2MEDIUM
vendor_redhat4.2MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.