Vim is an open source, command line text editor. Prior to version 9.2.0495, a Vimscript code injection vulnerability exists in s:NetrwBookHistSave() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when serializing browsed directory paths to the history file ~/.vim/.netrwhist. A directory name derived from the filesystem is interpolated into a single-quoted Vimscript string literal without escaping embedded single quotes, allowing a crafted directory name to break out of the string context and execute arbitrary Vimscript, including shell commands via system() and :!, the next time the history file is sourced. This issue has been patched in version 9.2.0495.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade vim-X11Upgrade vim-enhancedUpgrade vim-filesystemUpgrade vim-minimalUpgrade vim-common | Oct 11, 2026 | Jul 13, 2026 |
| Amazon Linux Ami 2 | — | Upgrade xxdUpgrade vim-filesystemUpgrade vim-enhancedUpgrade vim-debuginfoUpgrade vim-X11Upgrade vim-commonUpgrade vim-dataUpgrade vim-minimal | Jun 23, 2026 | Jun 23, 2026 |
| Redhat Openshift | — | Upgrade ose-rhel-coreos | Aug 19, 2026 | Jun 11, 2026 |
| Redhat_linux | — | Upgrade vim-minimalUpgrade vim-debugsourceUpgrade xxdUpgrade vim-dataUpgrade vim-enhanced-debuginfoUpgrade vim-common-debuginfoUpgrade vim-enhancedUpgrade vim-X11Upgrade vim-X11-debuginfoUpgrade vim-debuginfoUpgrade vim-filesystemUpgrade xxd-debuginfoUpgrade vim-commonUpgrade vim-minimal-debuginfo | Jul 17, 2026 | Jun 11, 2026 |
| Rocky_linux | — | Upgrade vim-minimalUpgrade vim-enhanced-debuginfoUpgrade vim-commonUpgrade vim-debugsourceUpgrade vim-common-debuginfoUpgrade vim-X11-debuginfoUpgrade vim-enhancedUpgrade vim-X11Upgrade vim-minimal-debuginfoUpgrade vim-debuginfo | Aug 13, 2026 | Aug 11, 2026 |
| Ubuntu | — | Upgrade vim-runtimeUpgrade vim-commonUpgrade vim-nox-py2 (Ubuntu Pro)Upgrade vim-tiny (Ubuntu Pro)Upgrade vim-noxUpgrade vim-gtk (Ubuntu Pro)Upgrade vim-tinyUpgrade vim-gnome (Ubuntu Pro)Upgrade vim-gtk3-py2 (Ubuntu Pro)Upgrade vim-gui-commonUpgrade vim-nox (Ubuntu Pro)Upgrade vim (Ubuntu Pro)Upgrade vim-athenaUpgrade vim-gtk3 (Ubuntu Pro)Upgrade vim-gnome-py2 (Ubuntu Pro)Upgrade vim-gui-common (Ubuntu Pro)Upgrade vim-motifUpgrade vim-gtk3Upgrade vim-lesstif (Ubuntu Pro)Upgrade vim-runtime (Ubuntu Pro)Upgrade vim-common (Ubuntu Pro)Upgrade xxd (Ubuntu Pro)Upgrade vim-athena (Ubuntu Pro)Upgrade vim-athena-py2 (Ubuntu Pro)Upgrade vimUpgrade xxdUpgrade vim-gtk-py2 (Ubuntu Pro)Upgrade vim-gtk | Jun 21, 2026 | Jun 18, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 1, 2026 | Jun 11, 2026 |
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