Medium severity4.2NVD Advisory· Published Aug 1, 2024· Updated Jun 17, 2026
CVE-2024-41965
CVE-2024-41965
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
29- osv-coords27 versionspkg:deb/ubuntu/vimpkg:rpm/opensuse/vim&distro=openSUSE%20Leap%2015.6pkg:rpm/suse/vim&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP6pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP7pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/vim&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/vim&distro=SUSE%20Manager%20Server%204.3
>= 0+ 26 more
- (no CPE)range: >= 0
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-17.48.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150500.20.27.1
- (no CPE)range: < 9.1.1406-17.48.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
- (no CPE)range: < 9.1.1406-150000.5.75.1
Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.