vim: Vim is an improved version of the unix vi text editor
CVE-2024-43802 is fixed in 22 products on 1 platform, first by vim 2:8.0.1453-1ubuntu1.13+esm10, released August 26, 2024. It is not reported as exploited. Patch Radar priority: Routine.
Vim is an improved version of the unix vi text editor. When flushing thetypeahead buffer, Vim moves the current position in the typeahead bufferbut does not check whether there is enough space left in the buffer tohandle the next characters. So this may lead to the tb_off position withinthe typebuf variable to point outside of the valid buffer size, which canthen later lead to a heap-buffer overflow in e.g. ins_typebuf(). Therefore,when flushing the typeahead buffer, check if there is enough space leftbefore advancing the off position. If not, fall back to flush currenttypebuf contents. It's not quite clear yet, what can lead to thissituation. It seems to happen when error messages occur (which will causeVim to flush the typeahead buffer) in comnination with several longmappgins and so it may eventually move the off position out of a validbuffer size. Impact is low since it is not easily reproducible and requiresto have several mappings active and run into some error condition. But whenthis happens, this will cause a crash. The issue has been fixed as of Vimpatch v9.1.0697. Users are advised to upgrade. There are no knownworkarounds for this issue.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| vim · Debian 12.15 (bookworm) | 2:9.0.1378-2+deb12u1 | DEBIAN-CVE-2024-43802 | Aug 26, 2024 |
| vim · Debian 13.5 (trixie) | 2:9.1.0698-1 | DEBIAN-CVE-2024-43802 | Aug 26, 2024 |
| vim · Debian 14 | 2:9.1.0698-1 | DEBIAN-CVE-2024-43802 | Aug 26, 2024 |
| vim · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | vim 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | vim 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| vim · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | vim 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| vim · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.3 | vim 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| vim · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | vim 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| vim · opensuse-leap 15.6 | 9.1.1101-150500.20.21.1 | SUSE-SU-2025:0723-1 | Feb 26, 2025 |
| vim · sles 15.6 | 9.1.1101-150500.20.21.1 | SUSE-SU-2025:0723-1 | Feb 26, 2025 |
| vim-athena · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | vim-athena 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim-athena · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | vim-athena 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| vim-athena · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | vim-athena 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| vim-athena · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.3 | vim-athena 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| vim-athena · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | vim-athena 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| vim-common · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | vim-common 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim-common · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | vim-common 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| vim-common · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | vim-common 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| vim-common · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.3 | vim-common 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| vim-common · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | vim-common 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| 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+esm10 | vim-gnome 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim-gtk · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | vim-gtk 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim-gtk · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | vim-gtk 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| vim-gtk · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | vim-gtk 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| vim-gtk3 · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | vim-gtk3 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim-gtk3 · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | vim-gtk3 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| vim-gtk3 · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | vim-gtk3 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| vim-gtk3 · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.3 | vim-gtk3 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| vim-gtk3 · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | vim-gtk3 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| vim-gui-common · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | vim-gui-common 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim-gui-common · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | vim-gui-common 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| vim-gui-common · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | vim-gui-common 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| vim-gui-common · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.3 | vim-gui-common 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| vim-gui-common · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | vim-gui-common 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| 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.3 | vim-motif 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| vim-motif · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | vim-motif 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| vim-nox · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | vim-nox 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim-nox · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | vim-nox 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| vim-nox · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | vim-nox 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| vim-nox · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.3 | vim-nox 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| vim-nox · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | vim-nox 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| vim-runtime · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | vim-runtime 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim-runtime · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | vim-runtime 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| vim-runtime · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | vim-runtime 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| vim-runtime · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.3 | vim-runtime 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| vim-runtime · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | vim-runtime 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| vim-tiny · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | vim-tiny 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| vim-tiny · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | vim-tiny 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| vim-tiny · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | vim-tiny 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| vim-tiny · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.3 | vim-tiny 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| vim-tiny · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | vim-tiny 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| xxd · Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm10 | xxd 2:8.0.1453-1ubuntu1.13+esm10 | Aug 26, 2024 |
| xxd · Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.25 | xxd 2:8.1.2269-1ubuntu5.25 | Aug 26, 2024 |
| xxd · Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.19 | xxd 2:8.2.3995-1ubuntu2.19 | Aug 26, 2024 |
| xxd · Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.3 | xxd 2:9.1.0016-1ubuntu7.3 | Aug 26, 2024 |
| xxd · Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6 | xxd 2:9.1.0496-1ubuntu6 | Jan 16, 2026 |
| 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.