USN-8213-1: Vim vulnerabilities

Publication date

27 April 2026

Overview

Several security issues were fixed in Vim.


Packages

  • vim - Vi IMproved - enhanced vi editor

Details

Michał Majchrowicz discovered that Vim's zip plugin could overwrite
arbitrary files. An attacker could possibly use this issue to delete
sensitive data or execute arbitrary code. This issue only affected
Ubuntu 24.04 LTS and Ubuntu 25.10. (CVE-2026-35177)

It was discovered that Vim's netbeans interface did not properly
sanitize certain strings. An attacker could possibly use this issue to
execute arbitrary commands. (CVE-2026-39881)

Michał Majchrowicz discovered that Vim's zip plugin could overwrite
arbitrary files. An attacker could possibly use this issue to delete
sensitive data or execute arbitrary code. This issue only affected
Ubuntu 24.04 LTS and Ubuntu 25.10. (CVE-2026-35177)

It was discovered that Vim's netbeans interface did not properly
sanitize certain strings. An attacker could possibly use this issue to
execute arbitrary commands. (CVE-2026-39881)

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
25.10 questing vim –  2:9.1.0967-1ubuntu6.3
vim-athena –  2:9.1.0967-1ubuntu6.3
vim-common –  2:9.1.0967-1ubuntu6.3
vim-gtk3 –  2:9.1.0967-1ubuntu6.3
vim-gui-common –  2:9.1.0967-1ubuntu6.3
vim-motif –  2:9.1.0967-1ubuntu6.3
vim-nox –  2:9.1.0967-1ubuntu6.3
vim-runtime –  2:9.1.0967-1ubuntu6.3
vim-tiny –  2:9.1.0967-1ubuntu6.3
24.04 LTS noble vim –  2:9.1.0016-1ubuntu7.12
vim-athena –  2:9.1.0016-1ubuntu7.12
vim-common –  2:9.1.0016-1ubuntu7.12
vim-gtk3 –  2:9.1.0016-1ubuntu7.12
vim-gui-common –  2:9.1.0016-1ubuntu7.12
vim-motif –  2:9.1.0016-1ubuntu7.12
vim-nox –  2:9.1.0016-1ubuntu7.12
vim-runtime –  2:9.1.0016-1ubuntu7.12
vim-tiny –  2:9.1.0016-1ubuntu7.12
22.04 LTS jammy vim –  2:8.2.3995-1ubuntu2.28
vim-athena –  2:8.2.3995-1ubuntu2.28
vim-common –  2:8.2.3995-1ubuntu2.28
vim-gtk –  2:8.2.3995-1ubuntu2.28
vim-gtk3 –  2:8.2.3995-1ubuntu2.28
vim-gui-common –  2:8.2.3995-1ubuntu2.28
vim-nox –  2:8.2.3995-1ubuntu2.28
vim-runtime –  2:8.2.3995-1ubuntu2.28
vim-tiny –  2:8.2.3995-1ubuntu2.28
20.04 LTS focal vim –  2:8.1.2269-1ubuntu5.32+esm4  
vim-athena –  2:8.1.2269-1ubuntu5.32+esm4  
vim-common –  2:8.1.2269-1ubuntu5.32+esm4  
vim-gtk –  2:8.1.2269-1ubuntu5.32+esm4  
vim-gtk3 –  2:8.1.2269-1ubuntu5.32+esm4  
vim-gui-common –  2:8.1.2269-1ubuntu5.32+esm4  
vim-nox –  2:8.1.2269-1ubuntu5.32+esm4  
vim-runtime –  2:8.1.2269-1ubuntu5.32+esm4  
vim-tiny –  2:8.1.2269-1ubuntu5.32+esm4  
18.04 LTS bionic vim –  2:8.0.1453-1ubuntu1.13+esm16  
vim-athena –  2:8.0.1453-1ubuntu1.13+esm16  
vim-common –  2:8.0.1453-1ubuntu1.13+esm16  
vim-gnome –  2:8.0.1453-1ubuntu1.13+esm16  
vim-gtk –  2:8.0.1453-1ubuntu1.13+esm16  
vim-gtk3 –  2:8.0.1453-1ubuntu1.13+esm16  
vim-gui-common –  2:8.0.1453-1ubuntu1.13+esm16  
vim-nox –  2:8.0.1453-1ubuntu1.13+esm16  
vim-runtime –  2:8.0.1453-1ubuntu1.13+esm16  
vim-tiny –  2:8.0.1453-1ubuntu1.13+esm16  
16.04 LTS xenial vim –  2:7.4.1689-3ubuntu1.5+esm31  
vim-athena –  2:7.4.1689-3ubuntu1.5+esm31  
vim-athena-py2 –  2:7.4.1689-3ubuntu1.5+esm31  
vim-common –  2:7.4.1689-3ubuntu1.5+esm31  
vim-gnome –  2:7.4.1689-3ubuntu1.5+esm31  
vim-gnome-py2 –  2:7.4.1689-3ubuntu1.5+esm31  
vim-gtk –  2:7.4.1689-3ubuntu1.5+esm31  
vim-gtk-py2 –  2:7.4.1689-3ubuntu1.5+esm31  
vim-gtk3 –  2:7.4.1689-3ubuntu1.5+esm31  
vim-gtk3-py2 –  2:7.4.1689-3ubuntu1.5+esm31  
vim-gui-common –  2:7.4.1689-3ubuntu1.5+esm31  
vim-nox –  2:7.4.1689-3ubuntu1.5+esm31  
vim-nox-py2 –  2:7.4.1689-3ubuntu1.5+esm31  
vim-runtime –  2:7.4.1689-3ubuntu1.5+esm31  
vim-tiny –  2:7.4.1689-3ubuntu1.5+esm31  
14.04 LTS trusty vim –  2:7.4.052-1ubuntu3.1+esm25  
vim-athena –  2:7.4.052-1ubuntu3.1+esm25  
vim-common –  2:7.4.052-1ubuntu3.1+esm25  
vim-gnome –  2:7.4.052-1ubuntu3.1+esm25  
vim-gtk –  2:7.4.052-1ubuntu3.1+esm25  
vim-gui-common –  2:7.4.052-1ubuntu3.1+esm25  
vim-lesstif –  2:7.4.052-1ubuntu3.1+esm25  
vim-nox –  2:7.4.052-1ubuntu3.1+esm25  
vim-runtime –  2:7.4.052-1ubuntu3.1+esm25  
vim-tiny –  2:7.4.052-1ubuntu3.1+esm25  

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 ›