CVE-2024-43374
published medium CVSS 3.1 · 4.5Vim heap-use-after-free in src/arglist.c:207
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vim | — | vim< 9.1.0678 | 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.0678-r0 | Package fix record |
| 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+esm9 | USN-6993-1 |
| Alpine Linux | v3.20 | vim | Fixed | 9.1.0678-r0 | Package fix record |
| Alpine Linux | v3.21 | vim | Fixed | 9.1.0678-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.0678-r0 | Package fix record |
| Alpine Linux | v3.23 | vim | Fixed | 9.1.0678-r0 | Package fix record |
| Alpine Linux | v3.24 | vim | Fixed | 9.1.0678-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 | esm | vim | Advisory build | 2:7.4.052-1ubuntu3.1+esm18 | USN-6993-1 |
| Ubuntu | focal | vim | Advisory build | 2:8.1.2269-1ubuntu5.24 | USN-6993-1 |
| Ubuntu | jammy | vim | Advisory build | 2:8.2.3995-1ubuntu2.18 | USN-6993-1 |
| Ubuntu | noble | vim | Advisory build | 2:9.1.0016-1ubuntu7.2 | USN-6993-1 |
| Ubuntu | xenial | vim | Advisory build | 2:7.4.1689-3ubuntu1.5+esm24 | USN-6993-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+esm9 | USN-6993-1 |
| Ubuntu | bionic | vim-common | Advisory build | 2:8.0.1453-1ubuntu1.13+esm9 | USN-6993-1 |
| Ubuntu | bionic | vim-gnome | Advisory build | 2:8.0.1453-1ubuntu1.13+esm9 | USN-6993-1 |
| Ubuntu | bionic | vim-gtk | Advisory build | 2:8.0.1453-1ubuntu1.13+esm9 | USN-6993-1 |
| Ubuntu | bionic | vim-gtk3 | Advisory build | 2:8.0.1453-1ubuntu1.13+esm9 | USN-6993-1 |
| Ubuntu | bionic | vim-gui-common | Advisory build | 2:8.0.1453-1ubuntu1.13+esm9 | USN-6993-1 |
| Ubuntu | bionic | vim-nox | Advisory build | 2:8.0.1453-1ubuntu1.13+esm9 | USN-6993-1 |
| Ubuntu | bionic | vim-runtime | Advisory build | 2:8.0.1453-1ubuntu1.13+esm9 | USN-6993-1 |
| Ubuntu | bionic | vim-tiny | Advisory build | 2:8.0.1453-1ubuntu1.13+esm9 | USN-6993-1 |
| Ubuntu | bionic | xxd | Advisory build | 2:8.0.1453-1ubuntu1.13+esm9 | USN-6993-1 |
| Ubuntu | esm | vim-athena | Advisory build | 2:7.4.052-1ubuntu3.1+esm18 | USN-6993-1 |
| Ubuntu | esm | vim-common | Advisory build | 2:7.4.052-1ubuntu3.1+esm18 | USN-6993-1 |
| Ubuntu | esm | vim-gnome | Advisory build | 2:7.4.052-1ubuntu3.1+esm18 | USN-6993-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
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
- 4.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vim | vim | < 9.1.0678 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
4Provider assertions
3GitHub_M · cna
Vim heap-use-after-free in src/arglist.c:207
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 08c0afdcae3e22263abadeff7c73fba202ba1126f209b535821b96b0e24c5f18
- Ingested
- 23 Sep 2026, 08:27:02 UTC
- Source record
- Official CVE record