# CVE-2024-47814: vim: Vim is an open source, command line text editor

CVE-2024-47814 is fixed in 22 products on 1 platform, first by vim 2:8.0.1453-1ubuntu1.13+esm11, released October 7, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-47814
- Priority: Routine
- CVSS: 4.7 (Low)
- EPSS: 0.0030
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 7, 2024

## Description

Vim is an open source, command line text editor. A use-after-free was foundin Vim < 9.1.0764. When closing a buffer (visible in a window) aBufWinLeave auto command can cause an use-after-free if this auto commandhappens to re-open the same buffer in a new split window. Impact is lowsince the user must have intentionally set up such a strange auto commandand run some buffer unload commands. However this may lead to a crash. Thisissue has been addressed in version 9.1.0764 and all users are advised toupgrade. There are no known workarounds for this vulnerability.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | vim Debian 12.15 (bookworm) | 2:9.0.1378-2+deb12u1 | [DEBIAN-CVE-2024-47814](https://patchblox.com/security/data/fix/linux/debian-cve-2024-47814.md) | Oct 7, 2024 |
| Linux | vim Debian 13.5 (trixie) | 2:9.1.0777-1 | [DEBIAN-CVE-2024-47814](https://patchblox.com/security/data/fix/linux/debian-cve-2024-47814.md) | Oct 7, 2024 |
| Linux | vim Debian 14 | 2:9.1.0777-1 | [DEBIAN-CVE-2024-47814](https://patchblox.com/security/data/fix/linux/debian-cve-2024-47814.md) | Oct 7, 2024 |
| Linux | vim Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [vim 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | vim Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [vim 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | vim Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [vim 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-vim-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | vim Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [vim 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-vim-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | vim opensuse-leap 15.6 | 9.1.0836-150500.20.15.1 | [SUSE-SU-2024:4330-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4330-1.md) | Dec 16, 2024 |
| Linux | vim sles 15.6 | 9.1.0836-150500.20.15.1 | [SUSE-SU-2024:4330-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4330-1.md) | Dec 16, 2024 |
| Linux | vim-athena Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim-athena 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-athena-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim-athena Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [vim-athena 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-athena-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | vim-athena Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [vim-athena 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-athena-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | vim-athena Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [vim-athena 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-vim-athena-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | vim-athena Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [vim-athena 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-vim-athena-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | vim-common Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim-common 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-common-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim-common Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [vim-common 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-common-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | vim-common Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [vim-common 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-common-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | vim-common Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [vim-common 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-vim-common-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | vim-common Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [vim-common 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-vim-common-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | vim-common amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-data amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-debuginfo amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-debugsource amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-default-editor amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-enhanced amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-enhanced-debuginfo amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-filesystem amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-gnome Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim-gnome 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gnome-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim-gtk Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim-gtk 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gtk-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim-gtk Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [vim-gtk 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-gtk-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | vim-gtk Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [vim-gtk 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-gtk-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | vim-gtk3 Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim-gtk3 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gtk3-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim-gtk3 Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [vim-gtk3 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-gtk3-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | vim-gtk3 Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [vim-gtk3 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-gtk3-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | vim-gtk3 Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [vim-gtk3 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-vim-gtk3-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | vim-gtk3 Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [vim-gtk3 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-vim-gtk3-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | vim-gui-common Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim-gui-common 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-gui-common-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim-gui-common Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [vim-gui-common 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-gui-common-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | vim-gui-common Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [vim-gui-common 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-gui-common-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | vim-gui-common Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [vim-gui-common 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-vim-gui-common-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | vim-gui-common Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [vim-gui-common 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-vim-gui-common-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | vim-minimal amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-minimal-debuginfo amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | vim-motif Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [vim-motif 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-vim-motif-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | vim-motif Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [vim-motif 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-vim-motif-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | vim-nox Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim-nox 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-nox-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim-nox Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [vim-nox 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-nox-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | vim-nox Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [vim-nox 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-nox-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | vim-nox Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [vim-nox 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-vim-nox-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | vim-nox Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [vim-nox 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-vim-nox-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | vim-runtime Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim-runtime 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-runtime-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim-runtime Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [vim-runtime 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-runtime-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | vim-runtime Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [vim-runtime 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-runtime-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | vim-runtime Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [vim-runtime 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-vim-runtime-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | vim-runtime Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [vim-runtime 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-vim-runtime-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | vim-tiny Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [vim-tiny 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-tiny-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | vim-tiny Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [vim-tiny 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-tiny-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | vim-tiny Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [vim-tiny 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-tiny-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | vim-tiny Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [vim-tiny 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-vim-tiny-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | vim-tiny Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [vim-tiny 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-vim-tiny-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | xxd Ubuntu 18.04.6 LTS (bionic) | 2:8.0.1453-1ubuntu1.13+esm11 | [xxd 2:8.0.1453-1ubuntu1.13+esm11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-xxd-2-8.0.1453-1ubuntu1.13-esm11.md) | Oct 7, 2024 |
| Linux | xxd Ubuntu 20.04 LTS (focal) | 2:8.1.2269-1ubuntu5.29 | [xxd 2:8.1.2269-1ubuntu5.29](https://patchblox.com/security/data/fix/linux/ubuntu-focal-xxd-2-8.1.2269-1ubuntu5.29.md) | Oct 7, 2024 |
| Linux | xxd Ubuntu 22.04.1 LTS (jammy) | 2:8.2.3995-1ubuntu2.21 | [xxd 2:8.2.3995-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-xxd-2-8.2.3995-1ubuntu2.21.md) | Oct 7, 2024 |
| Linux | xxd Ubuntu 24.04.5 LTS (noble) | 2:9.1.0016-1ubuntu7.5 | [xxd 2:9.1.0016-1ubuntu7.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-xxd-2-9.1.0016-1ubuntu7.5.md) | Oct 7, 2024 |
| Linux | xxd Ubuntu 24.10 (oracular) | 2:9.1.0496-1ubuntu6.2 | [xxd 2:9.1.0496-1ubuntu6.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-xxd-2-9.1.0496-1ubuntu6.2.md) | Jan 16, 2026 |
| Linux | xxd amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |
| Linux | xxd-debuginfo amzn 2023 | 2:9.1.785-1.amzn2023.0.1 | [ALAS2023-2024-761](https://patchblox.com/security/data/fix/linux/alas2023-2024-761.md) | Nov 13, 2024 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
