CVE-2024-41965CWE-415CWE-416

CVE-2024-41965

Medium · published August 2, 2024

CVSS v3.1
4.2
EPSS
0%
Percentile
24.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00330 · 24.9th percentile
Weaknesses
CWE-415 · Double Free; CWE-416 · Use After Free
Published
2024-08-02T02:15Z
Affected products (3)
ProductVersionsFixed in
netapp/hci_compute_nodeall versions—
neovim/neovim≥ 0.10.0, < 0.10.20.10.2
vim/vim< 9.1.06489.1.0648
References (3)
EPSS history
Timeline
  • 01 AUG 21:44Z
    Vim < v9.1.0648 has a double-free in dialog_changed()
    cvelistv5