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-enhancedUpgrade vim-filesystemUpgrade vim-debuginfoUpgrade vim-dataUpgrade vim-X11Upgrade vim-minimalUpgrade vim-commonUpgrade xxd | Jan 10, 2024 | Nov 22, 2023 |
| Amazon_linux_2023 | — | Upgrade vim-minimal-debuginfoUpgrade vim-commonUpgrade xxd-debuginfoUpgrade vim-enhancedUpgrade vim-filesystemUpgrade vim-default-editorUpgrade vim-debuginfoUpgrade vim-debugsourceUpgrade vim-minimalUpgrade vim-dataUpgrade vim-enhanced-debuginfoUpgrade xxd | Feb 17, 2025 | Nov 22, 2023 |
| Debian | — | Upgrade vim | 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-commonUpgrade vim-minimal | Mar 13, 2024 | Nov 22, 2023 |
| Huawei Euleros 2_0_sp11 | — | Upgrade vim-filesystemUpgrade vim-commonUpgrade vim-minimalUpgrade vim-enhanced | Jan 29, 2024 | Nov 22, 2023 |
| Huawei Euleros 2_0_sp9 | — | Upgrade vim-minimalUpgrade vim-commonUpgrade vim-enhancedUpgrade vim-filesystem | Feb 12, 2024 | Nov 22, 2023 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Nov 22, 2023 |
| Suse | — | Upgrade vim-dataUpgrade vim-smallUpgrade vimUpgrade vim-data-commonUpgrade gvim | Mar 7, 2024 | Nov 22, 2023 |
| Ubuntu | — | Upgrade vim-athenaUpgrade vim-noxUpgrade vim-tiny (Ubuntu Pro)Upgrade vim-athena (Ubuntu Pro)Upgrade vim (Ubuntu Pro)Upgrade xxd (Ubuntu Pro)Upgrade vim-gtk3Upgrade vim-gtk3 (Ubuntu Pro)Upgrade vim-gtkUpgrade vim-gtk (Ubuntu Pro)Upgrade xxdUpgrade vim-nox (Ubuntu Pro)Upgrade vim-tinyUpgrade vim | 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