Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue.
CVSS Details
- CVSS 3.1 Base Score: 4.7
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade vim | Mar 26, 2024 | Nov 22, 2023 |
| Amazon Linux Ami 2 | — | Upgrade vim-commonUpgrade vim-minimalUpgrade xxdUpgrade vim-filesystemUpgrade vim-X11Upgrade vim-debuginfoUpgrade vim-dataUpgrade vim-enhanced | Jan 10, 2024 | Nov 22, 2023 |
| Amazon_linux_2023 | — | Upgrade vim-minimalUpgrade vim-debugsourceUpgrade xxdUpgrade vim-dataUpgrade vim-enhanced-debuginfoUpgrade vim-commonUpgrade vim-minimal-debuginfoUpgrade vim-default-editorUpgrade vim-filesystemUpgrade vim-enhancedUpgrade vim-debuginfoUpgrade xxd-debuginfo | Feb 17, 2025 | Nov 22, 2023 |
| Debian | — | Upgrade vimNo solution exists | May 15, 2025 | Nov 22, 2023 |
| Dell Powerstore Dsa2024408 | — | Upgrade Dell PowerStoreOS to the latest version | Jan 13, 2026 | Sep 26, 2024 |
| Dell Powerstore Dsa2024432 | — | Upgrade Dell PowerStoreOS to the latest version | Oct 23, 2025 | Oct 29, 2024 |
| Huawei Euleros 2_0_sp10 | — | Upgrade vim-filesystemUpgrade vim-enhancedUpgrade vim-minimalUpgrade vim-common | Mar 13, 2024 | Nov 22, 2023 |
| Huawei Euleros 2_0_sp11 | — | Upgrade vim-enhancedUpgrade vim-minimalUpgrade vim-commonUpgrade vim-filesystem | Jan 29, 2024 | Nov 22, 2023 |
| Huawei Euleros 2_0_sp9 | — | Upgrade vim-filesystemUpgrade vim-enhancedUpgrade vim-commonUpgrade vim-minimal | Feb 12, 2024 | Nov 22, 2023 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Nov 22, 2023 |
| Suse | — | Upgrade vimUpgrade vim-dataUpgrade vim-smallUpgrade vim-data-commonUpgrade gvim | Mar 7, 2024 | Nov 22, 2023 |
| Ubuntu | — | Upgrade vim-tinyUpgrade vim-gtk3 (Ubuntu Pro)Upgrade xxdUpgrade vim-gtkUpgrade vimUpgrade vim-gtk (Ubuntu Pro)Upgrade vim-nox (Ubuntu Pro)Upgrade vim (Ubuntu Pro)Upgrade xxd (Ubuntu Pro)Upgrade vim-gtk3Upgrade vim-athenaUpgrade vim-athena (Ubuntu Pro)Upgrade vim-tiny (Ubuntu Pro)Upgrade vim-nox | Dec 19, 2023 | Nov 22, 2023 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Nov 22, 2023 |
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