USN-8304-1: Vim vulnerabilities

Publication date

25 May 2026

Overview

Several security issues were fixed in Vim.


Packages

  • vim - Vi IMproved - enhanced vi editor

Details

Joshua Rogers discovered that Vim incorrectly handled certain URL schemes
in the netrw plugin. An attacker could possibly use this issue to execute
arbitrary commands. (CVE-2026-42307)

It was discovered that Vim incorrectly handled command-line completion for
the :find command. An attacker could possibly use this issue to execute
arbitrary commands. (CVE-2026-44656)

Daniel Cervera discovered that Vim incorrectly handled loading spell files.
An attacker could possibly use this issue to cause a denial of service, or
to execute arbitrary code. (CVE-2026-45130)

Joshua Rogers discovered that Vim incorrectly handled certain URL schemes
in the netrw plugin. An attacker could possibly use this issue to execute
arbitrary commands. (CVE-2026-42307)

It was discovered that Vim incorrectly handled command-line completion for
the :find command. An attacker could possibly use this issue to execute
arbitrary commands. (CVE-2026-44656)

Daniel Cervera discovered that Vim incorrectly handled loading spell files.
An attacker could possibly use this issue to cause a denial of service, or
to execute arbitrary code. (CVE-2026-45130)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.04 LTS resolute vim –  2:9.1.2141-1ubuntu4.2
vim-common –  2:9.1.2141-1ubuntu4.2
vim-gtk3 –  2:9.1.2141-1ubuntu4.2
vim-gui-common –  2:9.1.2141-1ubuntu4.2
vim-motif –  2:9.1.2141-1ubuntu4.2
vim-nox –  2:9.1.2141-1ubuntu4.2
vim-runtime –  2:9.1.2141-1ubuntu4.2
vim-tiny –  2:9.1.2141-1ubuntu4.2
25.10 questing vim –  2:9.1.0967-1ubuntu6.5
vim-athena –  2:9.1.0967-1ubuntu6.5
vim-common –  2:9.1.0967-1ubuntu6.5
vim-gtk3 –  2:9.1.0967-1ubuntu6.5
vim-gui-common –  2:9.1.0967-1ubuntu6.5
vim-motif –  2:9.1.0967-1ubuntu6.5
vim-nox –  2:9.1.0967-1ubuntu6.5
vim-runtime –  2:9.1.0967-1ubuntu6.5
vim-tiny –  2:9.1.0967-1ubuntu6.5
24.04 LTS noble vim –  2:9.1.0016-1ubuntu7.14
vim-athena –  2:9.1.0016-1ubuntu7.14
vim-common –  2:9.1.0016-1ubuntu7.14
vim-gtk3 –  2:9.1.0016-1ubuntu7.14
vim-gui-common –  2:9.1.0016-1ubuntu7.14
vim-motif –  2:9.1.0016-1ubuntu7.14
vim-nox –  2:9.1.0016-1ubuntu7.14
vim-runtime –  2:9.1.0016-1ubuntu7.14
vim-tiny –  2:9.1.0016-1ubuntu7.14
22.04 LTS jammy vim –  2:8.2.3995-1ubuntu2.30
vim-athena –  2:8.2.3995-1ubuntu2.30
vim-common –  2:8.2.3995-1ubuntu2.30
vim-gtk –  2:8.2.3995-1ubuntu2.30
vim-gtk3 –  2:8.2.3995-1ubuntu2.30
vim-gui-common –  2:8.2.3995-1ubuntu2.30
vim-nox –  2:8.2.3995-1ubuntu2.30
vim-runtime –  2:8.2.3995-1ubuntu2.30
vim-tiny –  2:8.2.3995-1ubuntu2.30
20.04 LTS focal vim –  2:8.1.2269-1ubuntu5.32+esm5  
vim-athena –  2:8.1.2269-1ubuntu5.32+esm5  
vim-common –  2:8.1.2269-1ubuntu5.32+esm5  
vim-gtk –  2:8.1.2269-1ubuntu5.32+esm5  
vim-gtk3 –  2:8.1.2269-1ubuntu5.32+esm5  
vim-gui-common –  2:8.1.2269-1ubuntu5.32+esm5  
vim-nox –  2:8.1.2269-1ubuntu5.32+esm5  
vim-runtime –  2:8.1.2269-1ubuntu5.32+esm5  
vim-tiny –  2:8.1.2269-1ubuntu5.32+esm5  
18.04 LTS bionic vim –  2:8.0.1453-1ubuntu1.13+esm17  
vim-athena –  2:8.0.1453-1ubuntu1.13+esm17  
vim-common –  2:8.0.1453-1ubuntu1.13+esm17  
vim-gnome –  2:8.0.1453-1ubuntu1.13+esm17  
vim-gtk –  2:8.0.1453-1ubuntu1.13+esm17  
vim-gtk3 –  2:8.0.1453-1ubuntu1.13+esm17  
vim-gui-common –  2:8.0.1453-1ubuntu1.13+esm17  
vim-nox –  2:8.0.1453-1ubuntu1.13+esm17  
vim-runtime –  2:8.0.1453-1ubuntu1.13+esm17  
vim-tiny –  2:8.0.1453-1ubuntu1.13+esm17  
16.04 LTS xenial vim –  2:7.4.1689-3ubuntu1.5+esm32  
vim-athena –  2:7.4.1689-3ubuntu1.5+esm32  
vim-athena-py2 –  2:7.4.1689-3ubuntu1.5+esm32  
vim-common –  2:7.4.1689-3ubuntu1.5+esm32  
vim-gnome –  2:7.4.1689-3ubuntu1.5+esm32  
vim-gnome-py2 –  2:7.4.1689-3ubuntu1.5+esm32  
vim-gtk –  2:7.4.1689-3ubuntu1.5+esm32  
vim-gtk-py2 –  2:7.4.1689-3ubuntu1.5+esm32  
vim-gtk3 –  2:7.4.1689-3ubuntu1.5+esm32  
vim-gtk3-py2 –  2:7.4.1689-3ubuntu1.5+esm32  
vim-gui-common –  2:7.4.1689-3ubuntu1.5+esm32  
vim-nox –  2:7.4.1689-3ubuntu1.5+esm32  
vim-nox-py2 –  2:7.4.1689-3ubuntu1.5+esm32  
vim-runtime –  2:7.4.1689-3ubuntu1.5+esm32  
vim-tiny –  2:7.4.1689-3ubuntu1.5+esm32  
14.04 LTS trusty vim –  2:7.4.052-1ubuntu3.1+esm26  
vim-athena –  2:7.4.052-1ubuntu3.1+esm26  
vim-common –  2:7.4.052-1ubuntu3.1+esm26  
vim-gnome –  2:7.4.052-1ubuntu3.1+esm26  
vim-gtk –  2:7.4.052-1ubuntu3.1+esm26  
vim-gui-common –  2:7.4.052-1ubuntu3.1+esm26  
vim-lesstif –  2:7.4.052-1ubuntu3.1+esm26  
vim-nox –  2:7.4.052-1ubuntu3.1+esm26  
vim-runtime –  2:7.4.052-1ubuntu3.1+esm26  
vim-tiny –  2:7.4.052-1ubuntu3.1+esm26  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›