CVE-2024-47814
published low CVSS 3.1 · 3.9use-after-free when closing buffers in Vim
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vim | — | vim< v9.1.0764 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-761 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | vim | Fixed | 9.1.0936-r0 | Package fix record |
| Debian | bullseye | vim | Advisory build | 2:8.2.2434-3+deb11u2 | DLA-4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | vimaarch64 | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| Ubuntu | bionic | vim | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Alpine Linux | v3.21 | vim | Fixed | 9.1.0936-r0 | Package fix record |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | vim | Fixed | 9.1.0936-r0 | Package fix record |
| Alpine Linux | v3.23 | vim | Fixed | 9.1.0936-r0 | Package fix record |
| Alpine Linux | v3.24 | vim | Fixed | 9.1.0936-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | vimppc64le | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| SUSE / openSUSE | SLE-12-SP5 | vims390x | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| SUSE / openSUSE | SLE-12-SP5 | vimx86_64 | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| SUSE / openSUSE | SLE-15-SP5 | vimaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | vimppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | vims390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | vimx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vimaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vimppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vims390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vimx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vimaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vimppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vims390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vimx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vimaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vimppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vims390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vimx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| Ubuntu | focal | vim | Advisory build | 2:8.1.2269-1ubuntu5.29 | USN-7131-1 |
| Ubuntu | jammy | vim | Advisory build | 2:8.2.3995-1ubuntu2.21 | USN-7131-1 |
| Ubuntu | noble | vim | Advisory build | 2:9.1.0016-1ubuntu7.5 | USN-7131-1 |
| Ubuntu | trusty | vim | Advisory build | 2:7.4.052-1ubuntu3.1+esm20 | USN-7131-1 |
| Ubuntu | xenial | vim | Advisory build | 2:7.4.1689-3ubuntu1.5+esm26 | USN-7131-1 |
| SUSE / openSUSE | SLE-12-SP5 | gvimaarch64 | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| SUSE / openSUSE | SLE-12-SP5 | gvimppc64le | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| SUSE / openSUSE | SLE-12-SP5 | gvims390x | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| SUSE / openSUSE | SLE-12-SP5 | gvimx86_64 | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| SUSE / openSUSE | SLE-12-SP5 | vim-datanoarch | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| SUSE / openSUSE | SLE-12-SP5 | vim-data-commonnoarch | Advisory build | 9.1.0836-17.38.1 | SUSE-SU-2024:4409-1 |
| SUSE / openSUSE | SLE-15-SP5 | gvimaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | gvimppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | gvims390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | gvimx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | vim-datanoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | vim-data-commonnoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | vim-smallaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | vim-smallppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | vim-smalls390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP5 | vim-smallx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | gvimaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | gvimppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | gvims390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | gvimx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vim-datanoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vim-data-commonnoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vim-smallaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vim-smallppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vim-smalls390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-15-SP6 | vim-smallx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-5 | vim-data-commonnoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-5 | vim-smallaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-5 | vim-smallppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-5 | vim-smalls390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | SLE-5 | vim-smallx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gvimaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gvimppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gvims390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gvimx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vim-datanoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vim-data-commonnoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vim-smallaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vim-smallppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vim-smalls390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | vim-smallx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gvimaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gvimppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gvims390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gvimx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vim-datanoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vim-data-commonnoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vim-smallaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vim-smallppc64le | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vim-smalls390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | vim-smallx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.5 | vim-data-commonnoarch | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.5 | vim-smallaarch64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.5 | vim-smalls390x | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.5 | vim-smallx86_64 | Advisory build | 9.1.0836-150500.20.15.1 | SUSE-SU-2024:4330-1 |
| Ubuntu | bionic | vim-athena | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | bionic | vim-common | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | bionic | vim-gnome | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | bionic | vim-gtk | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | bionic | vim-gtk3 | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | bionic | vim-gui-common | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | bionic | vim-nox | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | bionic | vim-runtime | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | bionic | vim-tiny | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | bionic | xxd | Advisory build | 2:8.0.1453-1ubuntu1.13+esm11 | USN-7131-1 |
| Ubuntu | focal | vim-athena | Advisory build | 2:8.1.2269-1ubuntu5.29 | USN-7131-1 |
| Ubuntu | focal | vim-common | Advisory build | 2:8.1.2269-1ubuntu5.29 | USN-7131-1 |
| Ubuntu | focal | vim-gtk | Advisory build | 2:8.1.2269-1ubuntu5.29 | USN-7131-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.9 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vim | vim | < v9.1.0764 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
4Provider assertions
3GitHub_M · cna
use-after-free when closing buffers in Vim
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3b2e46ba3fa44daff48c31c365018fed71eda03f334e1cda76aff49c9f8c14ce
- Ingested
- 23 Sep 2026, 08:28:35 UTC
- Source record
- Official CVE record