Vim heap-use-after-free in src/arglist.c:207
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| vim | vim | affected |
|
Configuration 1 [-]
| AND |
|
Configuration 2 [-]
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-40255 | 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. |
Ubuntu USN |
USN-6993-1 | Vim vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.349% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Neovim
Neovim neovim |
|
| CPEs | cpe:2.3:a:neovim:neovim:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Neovim
Neovim neovim |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Netapp
Netapp bootstrap Os Netapp hci Compute Node |
|
| CPEs | cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:* |
|
| Vendors & Products |
Netapp
Netapp bootstrap Os Netapp hci Compute Node |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Vim heap-use-after-free in src/arglist.c:207 | |
| Weaknesses | CWE-416 | |
| References |
| |
| Metrics |
cvssV3_1
|