Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-47162

Fixed in a distro release EPSS <1%CVSS 7.3

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.

Published 2026-06-11 · CVE record · OSV

Products: vim, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4.22, Red Hat Insights proxy 1.5, Red Hat Update Infrastructure 5, Red Hat Enterprise Linux 6, Red Hat Hardened Images, Red Hat OpenShift Container Platform 4

Distro releases

ReleasePackageFixed in
AlmaLinux 10vim-X112:9.1.083-9.el10_2.7
AlmaLinux 10vim-common2:9.1.083-9.el10_2.7
AlmaLinux 10vim-data2:9.1.083-9.el10_2.7
AlmaLinux 10vim-enhanced2:9.1.083-9.el10_2.7
AlmaLinux 10vim-filesystem2:9.1.083-9.el10_2.7
AlmaLinux 10vim-minimal2:9.1.083-9.el10_2.7
AlmaLinux 10xxd2:9.1.083-9.el10_2.7
AlmaLinux 8vim-X112:8.0.1763-27.el8_10
AlmaLinux 8vim-common2:8.0.1763-27.el8_10
AlmaLinux 8vim-enhanced2:8.0.1763-27.el8_10
AlmaLinux 8vim-filesystem2:8.0.1763-27.el8_10
AlmaLinux 8vim-minimal2:8.0.1763-27.el8_10
AlmaLinux 9vim-X112:8.2.2637-26.el9_8.10
AlmaLinux 9vim-common2:8.2.2637-26.el9_8.10
AlmaLinux 9vim-enhanced2:8.2.2637-26.el9_8.10
AlmaLinux 9vim-filesystem2:8.2.2637-26.el9_8.10
AlmaLinux 9vim-minimal2:8.2.2637-26.el9_8.10
Debian 12vimno fix
Debian 13vimno fix
Debian 14vim2:9.2.0524-1
Red Hat Enterprise Linux 10.2vim2:9.1.083-9.el10_2.7
Red Hat Enterprise Linux 10.2vim-common2:9.1.083-9.el10_2.7
Red Hat Enterprise Linux 8vim2:8.0.1763-27.el8_10
Red Hat Enterprise Linux 8vim-common2:8.0.1763-27.el8_10
Red Hat Enterprise Linux 9vim2:8.2.2637-26.el9_8.10
Red Hat Enterprise Linux 9vim-common2:8.2.2637-26.el9_8.10
Red Hat Enterprise Linux eus 10.0vim2:9.1.083-5.el10_0.4
Red Hat Enterprise Linux eus 10.0vim-X112:9.1.083-5.el10_0.4
Red Hat Enterprise Linux eus 10.0vim-common2:9.1.083-5.el10_0.4
Red Hat Enterprise Linux eus 10.0vim-enhanced2:9.1.083-5.el10_0.4
Red Hat hummingbird 1vim0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-X110:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-common0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-data0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-default-editor0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-enhanced0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-filesystem0:9.2.967-1.1.hum1
Red Hat hummingbird 1vim-minimal0:9.2.967-1.1.hum1
Red Hat hummingbird 1xxd0:9.2.967-1.1.hum1
Red Hat rhel e4s 9.2vim2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-X112:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-X11-debuginfo2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-common2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-common-debuginfo2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-debuginfo2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-debugsource2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-enhanced2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-enhanced-debuginfo2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-filesystem2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-minimal2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.2vim-minimal-debuginfo2:8.2.2637-20.el9_2.3
Red Hat rhel e4s 9.4vim2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-X112:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-X11-debuginfo2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-common2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-common-debuginfo2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-debuginfo2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-debugsource2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-enhanced2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-enhanced-debuginfo2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-filesystem2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-minimal2:8.2.2637-20.el9_4.4
Red Hat rhel e4s 9.4vim-minimal-debuginfo2:8.2.2637-20.el9_4.4
Red Hat rhel els 6vim2:7.4.629-5.el6_10.4
Red Hat rhel els 6vim-X112:7.4.629-5.el6_10.4
Red Hat rhel els 6vim-common2:7.4.629-5.el6_10.4
Red Hat rhel els 6vim-enhanced2:7.4.629-5.el6_10.4
Red Hat rhel els 6vim-minimal2:7.4.629-5.el6_10.4
Red Hat rhel els 7vim2:7.4.629-8.el7_9.2
Red Hat rhel els 7vim-X112:7.4.629-8.el7_9.2
Red Hat rhel els 7vim-common2:7.4.629-8.el7_9.2
Red Hat rhel els 7vim-enhanced2:7.4.629-8.el7_9.2
Red Hat rhel els 7vim-minimal2:7.4.629-8.el7_9.2
Red Hat rhel eus 9.6vim2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-X112:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-X11-debuginfo2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-common2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-common-debuginfo2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-debuginfo2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-debugsource2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-enhanced2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-enhanced-debuginfo2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-filesystem2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-minimal2:8.2.2637-22.el9_6.4
Red Hat rhel eus 9.6vim-minimal-debuginfo2:8.2.2637-22.el9_6.4
Rocky Linux 10vim2:9.1.083-9.el10_2.7
Rocky Linux 8vim2:8.0.1763-27.el8_10
Rocky Linux 9vim2:8.2.2637-26.el9_8.10
Ubuntu 22.04 LTSvim2:8.2.3995-1ubuntu2.32
Ubuntu 24.04 LTSvim2:9.1.0016-1ubuntu7.16
Ubuntu 25.10vim2:9.1.0967-1ubuntu6.7
Ubuntu 26.04 LTSvim2:9.1.2141-1ubuntu4.5
Ubuntu Pro 14.04 LTSvim2:7.4.052-1ubuntu3.1+esm29
Ubuntu Pro 16.04 LTSvim2:7.4.1689-3ubuntu1.5+esm35
Ubuntu Pro 18.04 LTSvim2:8.0.1453-1ubuntu1.13+esm20
Ubuntu Pro 20.04 LTSvim2:8.1.2269-1ubuntu5.32+esm8