Patchwire CVEs, their patch status, and feeds to follow them

CVE-2024-43374

Fixed in a distro release EPSS <1%CVSS 4.5

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.

Published 2024-08-15 · CVE record · OSV

Products: vim

Distro releases

ReleasePackageFixed in
Alpine 3.20vim9.1.0678-r0
Alpine 3.21vim9.1.0678-r0
Alpine 3.22vim9.1.0678-r0
Alpine 3.23vim9.1.0678-r0
Amazon Linux 2023vim-common2:9.1.785-1.amzn2023.0.1
Amazon Linux 2023vim-data2:9.1.785-1.amzn2023.0.1
Amazon Linux 2023vim-default-editor2:9.1.785-1.amzn2023.0.1
Amazon Linux 2023vim-enhanced2:9.1.785-1.amzn2023.0.1
Amazon Linux 2023vim-filesystem2:9.1.785-1.amzn2023.0.1
Amazon Linux 2023vim-minimal2:9.1.785-1.amzn2023.0.1
Amazon Linux 2023xxd2:9.1.785-1.amzn2023.0.1
Chainguardvim9.1.0686-r0
Debian 12vimno fix
Debian 13vim2:9.1.0698-1
Debian 14vim2:9.1.0698-1
SUSE Linux Enterprise Micro 5.5vim9.1.0836-150500.20.15.1
SUSE Linux Enterprise Module for Basesystem 15 SP5vim9.1.0836-150500.20.15.1
SUSE Linux Enterprise Module for Basesystem 15 SP6vim9.1.0836-150500.20.15.1
SUSE Linux Enterprise Module for Desktop Applications 15 SP5vim9.1.0836-150500.20.15.1
SUSE Linux Enterprise Module for Desktop Applications 15 SP6vim9.1.0836-150500.20.15.1
SUSE Linux Enterprise Server 12 SP5-LTSSvim9.1.0836-17.38.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5vim9.1.0836-17.38.1
SUSE Linux Micro 6.0vim9.1.1101-1.1
Ubuntu 20.04 LTSvim2:8.1.2269-1ubuntu5.24
Ubuntu 22.04 LTSvim2:8.2.3995-1ubuntu2.18
Ubuntu 24.04 LTSvim2:9.1.0016-1ubuntu7.2
Ubuntu Pro 14.04 LTSvim2:7.4.052-1ubuntu3.1+esm18
Ubuntu Pro 16.04 LTSvim2:7.4.1689-3ubuntu1.5+esm24
Ubuntu Pro 18.04 LTSvim2:8.0.1453-1ubuntu1.13+esm9
Wolfivim9.1.0686-r0
openSUSE Leap 15.5vim9.1.0836-150500.20.15.1
openSUSE Leap 15.6vim9.1.0836-150500.20.15.1
openSUSE Leap Micro 5.5vim9.1.0836-150500.20.15.1