CVE-2024-41965
Fixed in a distro release EPSS <1%CVSS 4.2
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.
Products: vim
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.20 | vim | 9.1.0652-r0 |
| Alpine 3.21 | vim | 9.1.0652-r0 |
| Alpine 3.22 | vim | 9.1.0652-r0 |
| Alpine 3.23 | vim | 9.1.0652-r0 |
| Debian 12 | vim | no fix |
| Debian 13 | vim | 2:9.1.0698-1 |
| Debian 14 | vim | 2:9.1.0698-1 |
| SUSE Enterprise Storage 7.1 | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | vim | 9.1.1406-150500.20.27.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | vim | 9.1.1406-150500.20.27.1 |
| SUSE Linux Enterprise Micro 5.1 | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise Micro 5.2 | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise Micro 5.3 | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise Micro 5.4 | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise Micro 5.5 | vim | 9.1.1406-150500.20.27.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | vim | 9.1.1406-150500.20.27.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | vim | 9.1.1406-150500.20.27.1 |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP6 | vim | 9.1.1406-150500.20.27.1 |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP7 | vim | 9.1.1406-150500.20.27.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | vim | 9.1.1406-17.48.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | vim | 9.1.1406-150500.20.27.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | vim | 9.1.1406-17.48.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | vim | 9.1.1406-150000.5.75.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | vim | 9.1.1406-150500.20.27.1 |
| SUSE Manager Proxy 4.3 | vim | 9.1.1406-150000.5.75.1 |
| SUSE Manager Server 4.3 | vim | 9.1.1406-150000.5.75.1 |
| openSUSE Leap 15.6 | vim | 9.1.1406-150500.20.27.1 |