Vim is a greatly improved version of the good old UNIX editor Vi. Vim allows to redirect screen messages using the `:redir` ex command to register, variables and files. It also allows to show the contents of registers using the `:registers` or `:display` ex command. When redirecting the output of `:display` to a register, Vim will free the register content before storing the new content in the register. Now when redirecting the `:display` command to a register that is being displayed, Vim will free the content while shortly afterwards trying to access it, which leads to a use-after-free. Vim pre 9.1.1115 checks in the ex_display() function, that it does not try to redirect to a register while displaying this register at the same time. However this check is not complete, and so Vim does not check the `+` and `*` registers (which typically donate the X11/clipboard registers, and when a clipboard connection is not possible will fall back to use register 0 instead. In Patch 9.1.1115 Vim will therefore skip outputting to register zero when trying to redirect to the clipboard registers `*` or `+`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade vim | Aug 8, 2025 | Feb 18, 2025 |
| Amazon Linux Ami 2 | — | Upgrade vim-filesystemUpgrade vim-X11Upgrade vim-dataUpgrade vim-commonUpgrade vim-debuginfoUpgrade vim-minimalUpgrade xxdUpgrade vim-enhanced | Apr 17, 2025 | Feb 18, 2025 |
| Amazon_linux_2023 | — | Upgrade vim-debuginfoUpgrade xxd-debuginfoUpgrade vim-enhanced-debuginfoUpgrade vim-commonUpgrade vim-dataUpgrade vim-minimal-debuginfoUpgrade xxdUpgrade vim-enhancedUpgrade vim-debugsourceUpgrade vim-filesystemUpgrade vim-minimalUpgrade vim-default-editor | Apr 15, 2025 | Feb 18, 2025 |
| Debian | — | Upgrade vim | May 15, 2025 | Feb 18, 2025 |
| Huawei Euleros 2_0_sp10 | — | Upgrade vim-minimalUpgrade vim-enhancedUpgrade vim-commonUpgrade vim-filesystem | Jul 11, 2025 | Feb 18, 2025 |
| Huawei Euleros 2_0_sp11 | — | Upgrade vim-minimalUpgrade vim-enhancedUpgrade vim-filesystemUpgrade vim-common | Aug 13, 2025 | Jun 30, 2025 |
| Huawei Euleros 2_0_sp12 | — | Upgrade vim-filesystemUpgrade vim-commonUpgrade vim-enhancedUpgrade vim-minimal | Jul 21, 2025 | Feb 18, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade vim-minimalUpgrade vim-enhancedUpgrade vim-commonUpgrade vim-filesystem | Jul 1, 2025 | Feb 18, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Feb 18, 2025 |
| Ubuntu | — | Upgrade vimUpgrade vim (Ubuntu Pro) | Apr 8, 2025 | Feb 18, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 2, 2025 | Feb 18, 2025 |
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