vim: The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling
CVE-2024-43374 is fixed in 22 products on 1 platform, first by vim 2:8.0.1453-1ubuntu1.13+esm9, released August 15, 2024. It is not reported as exploited. Patch Radar priority: Routine.
The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling. When adding a new file to the argument list, this triggers `Buf*` autocommands. If in such an autocommand the buffer that was just opened is closed (including the window where it is shown), this causes the window structure to be freed which contains a reference to the argument list that we are actually modifying. Once the autocommands are completed, the references to the window and argument list are no longer valid and as such cause an use-after-free. Impact is low since the user must either intentionally add some unusual autocommands that wipe a buffer during creation (either manually or by sourcing a malicious plugin), but it will crash Vim. The issue has been fixed as of Vim patch v9.1.0678.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| vim · Debian 13.5 (trixie) | 2:9.1.0698-1 | DEBIAN-CVE-2024-43374 | Aug 16, 2024 |
| vim · Debian 14 | 2:9.1.0698-1 | DEBIAN-CVE-2024-43374 | Aug 16, 2024 |
| vim · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | vim 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| vim · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | vim 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| vim · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | vim 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| vim · opensuse-leap 15.6 | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 | Dec 16, 2024 |
| vim · sles 15.6 | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 | Dec 16, 2024 |
| vim-athena · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim-athena 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim-athena · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | vim-athena 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| vim-athena · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | vim-athena 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| vim-athena · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | vim-athena 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| vim-common · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim-common 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim-common · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | vim-common 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| vim-common · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | vim-common 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| vim-common · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | vim-common 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| vim-common · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-data · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-debuginfo · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-debugsource · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-default-editor · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-enhanced · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-enhanced-debuginfo · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-filesystem · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-gnome · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim-gnome 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim-gtk · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim-gtk 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim-gtk · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | vim-gtk 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| vim-gtk · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | vim-gtk 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| vim-gtk3 · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim-gtk3 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim-gtk3 · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | vim-gtk3 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| vim-gtk3 · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | vim-gtk3 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| vim-gtk3 · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | vim-gtk3 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| vim-gui-common · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim-gui-common 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim-gui-common · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | vim-gui-common 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| vim-gui-common · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | vim-gui-common 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| vim-gui-common · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | vim-gui-common 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| vim-minimal · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-minimal-debuginfo · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| vim-motif · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | vim-motif 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| vim-nox · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim-nox 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim-nox · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | vim-nox 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| vim-nox · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | vim-nox 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| vim-nox · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | vim-nox 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| vim-runtime · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim-runtime 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim-runtime · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | vim-runtime 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| vim-runtime · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | vim-runtime 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| vim-runtime · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | vim-runtime 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| vim-tiny · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | vim-tiny 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| vim-tiny · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | vim-tiny 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| vim-tiny · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | vim-tiny 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| vim-tiny · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | vim-tiny 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| xxd · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm9 | xxd 2:8.0.1453-1ubuntu1.13+esm9 | Aug 15, 2024 |
| xxd · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.24 | xxd 2:8.1.2269-1ubuntu5.24 | Aug 15, 2024 |
| xxd · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.18 | xxd 2:8.2.3995-1ubuntu2.18 | Aug 15, 2024 |
| xxd · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.2 | xxd 2:9.1.0016-1ubuntu7.2 | Aug 15, 2024 |
| xxd · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
| xxd-debuginfo · amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | ALAS2023-2024-761 | Nov 13, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.