heap-buffer-overflow with visual mode in Vim < 9.1.1003
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 [-]
|
Configuration 2 [-]
| AND |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-2654 | When switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer overflow, because Vim does not properly end visual mode and therefore may try to access beyond the end of a line in a buffer. In Patch 9.1.1003 Vim will correctly reset the visual mode before opening other windows and buffers and therefore fix this bug. In addition it does verify that it won't try to access a position if the position is greater than the corresponding buffer line. Impact is medium since the user must have switched on visual mode when executing the :all ex command. The Vim project would like to thank github user gandalf4a for reporting this issue. The issue has been fixed as of Vim patch v9.1.1003 |
Ubuntu USN |
USN-7220-1 | Vim vulnerability |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.375% 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 |
|---|---|---|
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | When switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer overflow, because Vim does not properly end visual mode and therefore may try to access beyond the end of a line in a buffer. In Patch 9.1.1003 Vim will correctly reset the visual mode before opening other windows and buffers and therefore fix this bug. In addition it does verify that it won't try to access a position if the position is greater than the corresponding buffer line. Impact is medium since the user must have switched on visual mode when executing the :all ex command. The Vim project would like to thank github user gandalf4a for reporting this issue. The issue has been fixed as of Vim patch v9.1.1003 | |
| Title | heap-buffer-overflow with visual mode in Vim < 9.1.1003 | |
| Weaknesses | CWE-122 | |
| References |
| |
| Metrics |
cvssV3_1
|