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

CVE-2024-41957: Vim is an open source command line text editor. Vim < v9.1.0647 has double free in src/alloc.c:616. When closing a window, the corresponding tagstack data will…

PriorityP424medium5.3CVSS 3.1
AVLACLPRNUIRSUCLILAL
EPSS
0.36%
28.9th percentile
Vim is an open source command line text editor. Vim < v9.1.0647 has double free in src/alloc.c:616. When closing a window, the corresponding tagstack data will be cleared and freed. However a bit later, the quickfix list belonging to that window will also be cleared and if that quickfix list points to the same tagstack data, Vim will try to free it again, resulting in a double-free/use-after-free access exception. Impact is low since the user must intentionally execute vim with several non-default flags, but it may cause a crash of Vim. The issue has been fixed as of Vim patch v9.1.0647

Affected

23 ranges
VendorProductVersion rangeFixed in
applemacos_sequoia
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.06479.1.0647
vimvim>= 0 < 9.1.0652-r09.1.0652-r0
vimvim>= 0 < 9.1.0652-r09.1.0652-r0
vimvim>= 0 < 9.1.0652-r09.1.0652-r0
vimvim>= 0 < 9.1.0652-r09.1.0652-r0
vimvim>= 0 < 2:9.1.0698-12:9.1.0698-1
vimvim>= 0 < 2:9.1.0698-12:9.1.0698-1
vimvim>= 0 < 2:8.1.2269-1ubuntu5.242:8.1.2269-1ubuntu5.24
vimvim>= 0 < 2:8.2.3995-1ubuntu2.182:8.2.3995-1ubuntu2.18
vimvim>= 0 < 2:9.1.0016-1ubuntu7.22:9.1.0016-1ubuntu7.2
vimvim>= 0 < 2:7.4.052-1ubuntu3.1+esm182:7.4.052-1ubuntu3.1+esm18
vimvim>= 0 < 2:7.4.1689-3ubuntu1.5+esm242:7.4.1689-3ubuntu1.5+esm24
vimvim>= 0 < 2:8.0.1453-1ubuntu1.13+esm92:8.0.1453-1ubuntu1.13+esm9

CVSS provenance

nvdv3.15.3MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
osv5.3MEDIUM
vendor_msrc5.3MEDIUM
vendor_debian4.5LOW
vendor_redhat4.5MEDIUM
vendor_ubuntu4.5MEDIUM
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.