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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade vim | Oct 1, 2024 | Aug 26, 2024 |
| Amazon Linux Ami 2 | — | Upgrade vim-minimalUpgrade vim-X11Upgrade vim-commonUpgrade vim-dataUpgrade vim-enhancedUpgrade vim-filesystemUpgrade xxdUpgrade vim-debuginfo | Dec 20, 2024 | Aug 26, 2024 |
| Amazon_linux_2023 | — | Upgrade vim-debuginfoUpgrade vim-enhancedUpgrade vim-enhanced-debuginfoUpgrade vim-default-editorUpgrade vim-filesystemUpgrade vim-dataUpgrade xxdUpgrade vim-minimal-debuginfoUpgrade vim-debugsourceUpgrade vim-commonUpgrade xxd-debuginfoUpgrade vim-minimal | 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-enhancedUpgrade vim-minimalUpgrade vim-filesystemUpgrade vim-common | Nov 11, 2024 | Aug 26, 2024 |
| Huawei Euleros 2_0_sp11 | — | Upgrade vim-enhancedUpgrade vim-commonUpgrade vim-minimalUpgrade vim-filesystem | Dec 12, 2024 | Aug 26, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade vim-enhancedUpgrade vim-minimalUpgrade vim-commonUpgrade vim-filesystem | Dec 12, 2024 | Aug 26, 2024 |
| Huawei Euleros 2_0_sp9 | — | Upgrade vim-minimalUpgrade vim-filesystemUpgrade vim-enhancedUpgrade vim-common | 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 vim-data-commonUpgrade gvim | Dec 5, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade vimUpgrade vim (Ubuntu Pro) | 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 |
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