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