Vim is an improved version of the unix vi text editor. When flushing the typeahead buffer, Vim moves the current position in the typeahead buffer but does not check whether there is enough space left in the buffer to handle the next characters. So this may lead to the tb_off position within the typebuf variable to point outside of the valid buffer size, which can then later lead to a heap-buffer overflow in e.g. ins_typebuf(). Therefore, when flushing the typeahead buffer, check if there is enough space left before advancing the off position. If not, fall back to flush current typebuf contents. It's not quite clear yet, what can lead to this situation. It seems to happen when error messages occur (which will cause Vim to flush the typeahead buffer) in comnination with several long mappgins and so it may eventually move the off position out of a valid buffer size. Impact is low since it is not easily reproducible and requires to have several mappings active and run into some error condition. But when this happens, this will cause a crash. The issue has been fixed as of Vim patch v9.1.0697. Users are advised to upgrade. There are no known workarounds for this issue.
CVSS Details
- CVSS 3.1 Base Score: 4.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade vim | Oct 1, 2024 | Aug 26, 2024 |
| Amazon Linux Ami 2 | — | Upgrade vim-filesystemUpgrade vim-enhancedUpgrade vim-dataUpgrade xxdUpgrade vim-debuginfoUpgrade vim-X11Upgrade vim-minimalUpgrade vim-common | Dec 20, 2024 | Aug 26, 2024 |
| Amazon_linux_2023 | — | Upgrade xxdUpgrade vim-commonUpgrade vim-minimal-debuginfoUpgrade vim-debugsourceUpgrade vim-minimalUpgrade xxd-debuginfoUpgrade vim-default-editorUpgrade vim-dataUpgrade vim-enhancedUpgrade vim-enhanced-debuginfoUpgrade vim-debuginfoUpgrade vim-filesystem | Feb 17, 2025 | Aug 26, 2024 |
| Debian | — | Upgrade vim | Mar 17, 2025 | Aug 26, 2024 |
| Dell Powerstore Dsa2025342 | — | Upgrade Dell PowerStoreOS to the latest version | Oct 23, 2025 | Sep 2, 2025 |
| Dell Powerstore Dsa2026039 | — | Upgrade Dell PowerStoreOS to the latest version | Jan 13, 2026 | Jan 6, 2026 |
| Huawei Euleros 2_0_sp10 | — | Upgrade vim-commonUpgrade vim-filesystemUpgrade vim-enhancedUpgrade vim-minimal | Nov 11, 2024 | Aug 26, 2024 |
| Huawei Euleros 2_0_sp11 | — | Upgrade vim-minimalUpgrade vim-commonUpgrade vim-filesystemUpgrade vim-enhanced | Dec 12, 2024 | Aug 26, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade vim-minimalUpgrade vim-enhancedUpgrade vim-filesystemUpgrade vim-common | Dec 12, 2024 | Aug 26, 2024 |
| Huawei Euleros 2_0_sp9 | — | Upgrade vim-enhancedUpgrade vim-filesystemUpgrade vim-commonUpgrade vim-minimal | Nov 11, 2024 | Aug 26, 2024 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Aug 26, 2024 |
| Suse | — | Upgrade xxdUpgrade vim-dataUpgrade vimUpgrade vim-smallUpgrade gvimUpgrade vim-data-common | Dec 5, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade vim (Ubuntu Pro)Upgrade vim | Oct 2, 2024 | Aug 26, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Aug 26, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub