USN-8342-1: Vim vulnerability

Publication date

28 May 2026

Overview

Vim could be made to run arbitrary programs if it opened a specially crafted file.


Packages

  • vim - Vi IMproved - enhanced vi editor

Details

It was discovered that Vim did not properly handle backticks in tag
filenames. An attacker could possibly use this issue to execute
arbitrary commands.

It was discovered that Vim did not properly handle backticks in tag
filenames. An attacker could possibly use this issue to execute
arbitrary commands.

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
20.04 LTS focal vim –  2:8.1.2269-1ubuntu5.32+esm6  
vim-athena –  2:8.1.2269-1ubuntu5.32+esm6  
vim-common –  2:8.1.2269-1ubuntu5.32+esm6  
vim-gtk –  2:8.1.2269-1ubuntu5.32+esm6  
vim-gtk3 –  2:8.1.2269-1ubuntu5.32+esm6  
vim-nox –  2:8.1.2269-1ubuntu5.32+esm6  
vim-runtime –  2:8.1.2269-1ubuntu5.32+esm6  
vim-tiny –  2:8.1.2269-1ubuntu5.32+esm6  
xxd –  2:8.1.2269-1ubuntu5.32+esm6  
18.04 LTS bionic vim –  2:8.0.1453-1ubuntu1.13+esm18  
vim-athena –  2:8.0.1453-1ubuntu1.13+esm18  
vim-common –  2:8.0.1453-1ubuntu1.13+esm18  
vim-gnome –  2:8.0.1453-1ubuntu1.13+esm18  
vim-gtk –  2:8.0.1453-1ubuntu1.13+esm18  
vim-gtk3 –  2:8.0.1453-1ubuntu1.13+esm18  
vim-nox –  2:8.0.1453-1ubuntu1.13+esm18  
vim-runtime –  2:8.0.1453-1ubuntu1.13+esm18  
vim-tiny –  2:8.0.1453-1ubuntu1.13+esm18  
xxd –  2:8.0.1453-1ubuntu1.13+esm18  
16.04 LTS xenial vim –  2:7.4.1689-3ubuntu1.5+esm33  
vim-athena –  2:7.4.1689-3ubuntu1.5+esm33  
vim-athena-py2 –  2:7.4.1689-3ubuntu1.5+esm33  
vim-common –  2:7.4.1689-3ubuntu1.5+esm33  
vim-gnome –  2:7.4.1689-3ubuntu1.5+esm33  
vim-gnome-py2 –  2:7.4.1689-3ubuntu1.5+esm33  
vim-gtk –  2:7.4.1689-3ubuntu1.5+esm33  
vim-gtk-py2 –  2:7.4.1689-3ubuntu1.5+esm33  
vim-gtk3 –  2:7.4.1689-3ubuntu1.5+esm33  
vim-gtk3-py2 –  2:7.4.1689-3ubuntu1.5+esm33  
vim-nox –  2:7.4.1689-3ubuntu1.5+esm33  
vim-nox-py2 –  2:7.4.1689-3ubuntu1.5+esm33  
vim-runtime –  2:7.4.1689-3ubuntu1.5+esm33  
vim-tiny –  2:7.4.1689-3ubuntu1.5+esm33  
14.04 LTS trusty vim –  2:7.4.052-1ubuntu3.1+esm27  
vim-athena –  2:7.4.052-1ubuntu3.1+esm27  
vim-common –  2:7.4.052-1ubuntu3.1+esm27  
vim-gnome –  2:7.4.052-1ubuntu3.1+esm27  
vim-gtk –  2:7.4.052-1ubuntu3.1+esm27  
vim-lesstif –  2:7.4.052-1ubuntu3.1+esm27  
vim-nox –  2:7.4.052-1ubuntu3.1+esm27  
vim-runtime –  2:7.4.052-1ubuntu3.1+esm27  
vim-tiny –  2:7.4.052-1ubuntu3.1+esm27  

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 ›