CVE-2026-42307

vim: Vim is an open source, command line text editor

CVE-2026-42307 is fixed in 22 products on 1 platform, first by vim 2:9.1.2141-1ubuntu4.2, released May 8, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
4.4
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0077
55th percentile

Vim is an open source, command line text editor. Prior to version 9.2.0383, an OS command injection vulnerability exists in the netrw standard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using the sftp:// or file:// protocol handlers), an attacker can execute arbitrary shell commands with the privileges of the Vim process. This issue has been patched in version 9.2.0383.

Where it's fixed

ProductFixed inFixReleased
Linux
vim · Debian 13.5 (trixie) 2:9.1.1230-2+deb13u1 DEBIAN-CVE-2026-42307 May 15, 2026
vim · Debian 14 2:9.2.0428-1 DEBIAN-CVE-2026-42307 May 15, 2026
vim · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 vim 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
vim · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 vim 2:8.2.3995-1ubuntu2.30 May 27, 2026
vim · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 vim 2:9.1.0016-1ubuntu7.14 May 27, 2026
vim · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 vim 2:9.1.0967-1ubuntu6.5 May 27, 2026
vim · Ubuntu 26.04.1 LTS (resolute) 2:9.1.2141-1ubuntu4.2 vim 2:9.1.2141-1ubuntu4.2 May 8, 2026
vim-athena · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim-athena 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim-athena · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 vim-athena 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
vim-athena · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 vim-athena 2:8.2.3995-1ubuntu2.30 May 27, 2026
vim-athena · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 vim-athena 2:9.1.0016-1ubuntu7.14 May 27, 2026
vim-athena · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 vim-athena 2:9.1.0967-1ubuntu6.5 May 27, 2026
vim-common · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim-common 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim-common · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 vim-common 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
vim-common · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 vim-common 2:8.2.3995-1ubuntu2.30 May 27, 2026
vim-common · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 vim-common 2:9.1.0016-1ubuntu7.14 May 27, 2026
vim-common · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 vim-common 2:9.1.0967-1ubuntu6.5 May 27, 2026
vim-common · Ubuntu 26.04.1 LTS (resolute) 2:9.1.2141-1ubuntu4.2 vim-common 2:9.1.2141-1ubuntu4.2 May 8, 2026
vim-common · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-data · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-debuginfo · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-debugsource · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-default-editor · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-enhanced · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-enhanced-debuginfo · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-filesystem · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-gnome · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim-gnome 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim-gtk · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim-gtk 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim-gtk · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 vim-gtk 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
vim-gtk · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 vim-gtk 2:8.2.3995-1ubuntu2.30 May 27, 2026
vim-gtk3 · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim-gtk3 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim-gtk3 · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 vim-gtk3 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
vim-gtk3 · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 vim-gtk3 2:8.2.3995-1ubuntu2.30 May 27, 2026
vim-gtk3 · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 vim-gtk3 2:9.1.0016-1ubuntu7.14 May 27, 2026
vim-gtk3 · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 vim-gtk3 2:9.1.0967-1ubuntu6.5 May 27, 2026
vim-gtk3 · Ubuntu 26.04.1 LTS (resolute) 2:9.1.2141-1ubuntu4.2 vim-gtk3 2:9.1.2141-1ubuntu4.2 May 8, 2026
vim-gui-common · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim-gui-common 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim-gui-common · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 vim-gui-common 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
vim-gui-common · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 vim-gui-common 2:8.2.3995-1ubuntu2.30 May 27, 2026
vim-gui-common · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 vim-gui-common 2:9.1.0016-1ubuntu7.14 May 27, 2026
vim-gui-common · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 vim-gui-common 2:9.1.0967-1ubuntu6.5 May 27, 2026
vim-gui-common · Ubuntu 26.04.1 LTS (resolute) 2:9.1.2141-1ubuntu4.2 vim-gui-common 2:9.1.2141-1ubuntu4.2 May 8, 2026
vim-minimal · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-minimal-debuginfo · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
vim-motif · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 vim-motif 2:9.1.0016-1ubuntu7.14 May 27, 2026
vim-motif · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 vim-motif 2:9.1.0967-1ubuntu6.5 May 27, 2026
vim-motif · Ubuntu 26.04.1 LTS (resolute) 2:9.1.2141-1ubuntu4.2 vim-motif 2:9.1.2141-1ubuntu4.2 May 8, 2026
vim-nox · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim-nox 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim-nox · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 vim-nox 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
vim-nox · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 vim-nox 2:8.2.3995-1ubuntu2.30 May 27, 2026
vim-nox · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 vim-nox 2:9.1.0016-1ubuntu7.14 May 27, 2026
vim-nox · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 vim-nox 2:9.1.0967-1ubuntu6.5 May 27, 2026
vim-nox · Ubuntu 26.04.1 LTS (resolute) 2:9.1.2141-1ubuntu4.2 vim-nox 2:9.1.2141-1ubuntu4.2 May 8, 2026
vim-runtime · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim-runtime 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim-runtime · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 vim-runtime 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
vim-runtime · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 vim-runtime 2:8.2.3995-1ubuntu2.30 May 27, 2026
vim-runtime · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 vim-runtime 2:9.1.0016-1ubuntu7.14 May 27, 2026
vim-runtime · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 vim-runtime 2:9.1.0967-1ubuntu6.5 May 27, 2026
vim-runtime · Ubuntu 26.04.1 LTS (resolute) 2:9.1.2141-1ubuntu4.2 vim-runtime 2:9.1.2141-1ubuntu4.2 May 8, 2026
vim-tiny · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 vim-tiny 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
vim-tiny · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 vim-tiny 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
vim-tiny · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 vim-tiny 2:8.2.3995-1ubuntu2.30 May 27, 2026
vim-tiny · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 vim-tiny 2:9.1.0016-1ubuntu7.14 May 27, 2026
vim-tiny · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 vim-tiny 2:9.1.0967-1ubuntu6.5 May 27, 2026
vim-tiny · Ubuntu 26.04.1 LTS (resolute) 2:9.1.2141-1ubuntu4.2 vim-tiny 2:9.1.2141-1ubuntu4.2 May 8, 2026
xxd · Ubuntu 18.04.6 LTS (bionic) 2:8.0.1453-1ubuntu1.13+esm17 xxd 2:8.0.1453-1ubuntu1.13+esm17 May 27, 2026
xxd · Ubuntu 20.04 LTS (focal) 2:8.1.2269-1ubuntu5.32+esm5 xxd 2:8.1.2269-1ubuntu5.32+esm5 May 27, 2026
xxd · Ubuntu 22.04.1 LTS (jammy) 2:8.2.3995-1ubuntu2.30 xxd 2:8.2.3995-1ubuntu2.30 May 27, 2026
xxd · Ubuntu 24.04.5 LTS (noble) 2:9.1.0016-1ubuntu7.14 xxd 2:9.1.0016-1ubuntu7.14 May 27, 2026
xxd · Ubuntu 25.10 (questing) 2:9.1.0967-1ubuntu6.5 xxd 2:9.1.0967-1ubuntu6.5 May 27, 2026
xxd · Ubuntu 26.04.1 LTS (resolute) 2:9.1.2141-1ubuntu4.2 xxd 2:9.1.2141-1ubuntu4.2 May 8, 2026
xxd · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026
xxd-debuginfo · amzn 2023 2:9.2.597-1.amzn2023.0.1 ALAS2023-2026-1862 Jun 22, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.