CVE-2024-47814
Fixed in a distro release EPSS <1%CVSS 3.9
Vim is an open source, command line text editor. A use-after-free was found in Vim < 9.1.0764. When closing a buffer (visible in a window) a BufWinLeave auto command can cause an use-after-free if this auto command happens to re-open the same buffer in a new split window. Impact is low since the user must have intentionally set up such a strange auto command and run some buffer unload commands. However this may lead to a crash. This issue has been addressed in version 9.1.0764 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Products: vim
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.21 | vim | 9.1.0936-r0 |
| Alpine 3.22 | vim | 9.1.0936-r0 |
| Alpine 3.23 | vim | 9.1.0936-r0 |
| Amazon Linux 2023 | vim-common | 2:9.1.785-1.amzn2023.0.1 |
| Amazon Linux 2023 | vim-data | 2:9.1.785-1.amzn2023.0.1 |
| Amazon Linux 2023 | vim-default-editor | 2:9.1.785-1.amzn2023.0.1 |
| Amazon Linux 2023 | vim-enhanced | 2:9.1.785-1.amzn2023.0.1 |
| Amazon Linux 2023 | vim-filesystem | 2:9.1.785-1.amzn2023.0.1 |
| Amazon Linux 2023 | vim-minimal | 2:9.1.785-1.amzn2023.0.1 |
| Amazon Linux 2023 | xxd | 2:9.1.785-1.amzn2023.0.1 |
| Chainguard | vim | 9.1.0766-r0 |
| Debian 11 | vim | 2:8.2.2434-3+deb11u2 |
| Debian 12 | vim | 2:9.0.1378-2+deb12u1 |
| Debian 13 | vim | 2:9.1.0777-1 |
| Debian 14 | vim | 2:9.1.0777-1 |
| SUSE Linux Enterprise Micro 5.5 | vim | 9.1.0836-150500.20.15.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | vim | 9.1.0836-150500.20.15.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | vim | 9.1.0836-150500.20.15.1 |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP5 | vim | 9.1.0836-150500.20.15.1 |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP6 | vim | 9.1.0836-150500.20.15.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | vim | 9.1.0836-17.38.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | vim | 9.1.0836-17.38.1 |
| SUSE Linux Micro 6.0 | vim | 9.1.1101-1.1 |
| Ubuntu 20.04 LTS | vim | 2:8.1.2269-1ubuntu5.29 |
| Ubuntu 22.04 LTS | vim | 2:8.2.3995-1ubuntu2.21 |
| Ubuntu 24.04 LTS | vim | 2:9.1.0016-1ubuntu7.5 |
| Ubuntu Pro 14.04 LTS | vim | 2:7.4.052-1ubuntu3.1+esm20 |
| Ubuntu Pro 16.04 LTS | vim | 2:7.4.1689-3ubuntu1.5+esm26 |
| Ubuntu Pro 18.04 LTS | vim | 2:8.0.1453-1ubuntu1.13+esm11 |
| Wolfi | vim | 9.1.0766-r0 |
| openSUSE Leap 15.5 | vim | 9.1.0836-150500.20.15.1 |
| openSUSE Leap 15.6 | vim | 9.1.0836-150500.20.15.1 |
| openSUSE Leap Micro 5.5 | vim | 9.1.0836-150500.20.15.1 |