USN-8246-1: Vim vulnerabilities

Publication date

7 May 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 26.04 LTS. (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. This issue only affected Ubuntu 26.04 LTS.
(CVE-2026-39881)

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

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 26.04 LTS. (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. This issue only affected Ubuntu 26.04 LTS.
(CVE-2026-39881)

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

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.1
vim-common –  2:9.1.2141-1ubuntu4.1
vim-doc –  2:9.1.2141-1ubuntu4.1
vim-gtk3 –  2:9.1.2141-1ubuntu4.1
vim-gui-common –  2:9.1.2141-1ubuntu4.1
vim-motif –  2:9.1.2141-1ubuntu4.1
vim-nox –  2:9.1.2141-1ubuntu4.1
vim-runtime –  2:9.1.2141-1ubuntu4.1
vim-tiny –  2:9.1.2141-1ubuntu4.1
xxd –  2:9.1.2141-1ubuntu4.1
25.10 questing vim –  2:9.1.0967-1ubuntu6.4
vim-athena –  2:9.1.0967-1ubuntu6.4
vim-common –  2:9.1.0967-1ubuntu6.4
vim-doc –  2:9.1.0967-1ubuntu6.4
vim-gtk3 –  2:9.1.0967-1ubuntu6.4
vim-gui-common –  2:9.1.0967-1ubuntu6.4
vim-motif –  2:9.1.0967-1ubuntu6.4
vim-nox –  2:9.1.0967-1ubuntu6.4
vim-runtime –  2:9.1.0967-1ubuntu6.4
vim-tiny –  2:9.1.0967-1ubuntu6.4
xxd –  2:9.1.0967-1ubuntu6.4
24.04 LTS noble vim –  2:9.1.0016-1ubuntu7.13
vim-athena –  2:9.1.0016-1ubuntu7.13
vim-common –  2:9.1.0016-1ubuntu7.13
vim-doc –  2:9.1.0016-1ubuntu7.13
vim-gtk3 –  2:9.1.0016-1ubuntu7.13
vim-gui-common –  2:9.1.0016-1ubuntu7.13
vim-motif –  2:9.1.0016-1ubuntu7.13
vim-nox –  2:9.1.0016-1ubuntu7.13
vim-runtime –  2:9.1.0016-1ubuntu7.13
vim-tiny –  2:9.1.0016-1ubuntu7.13
xxd –  2:9.1.0016-1ubuntu7.13
22.04 LTS jammy vim –  2:8.2.3995-1ubuntu2.29
vim-athena –  2:8.2.3995-1ubuntu2.29
vim-common –  2:8.2.3995-1ubuntu2.29
vim-doc –  2:8.2.3995-1ubuntu2.29
vim-gtk –  2:8.2.3995-1ubuntu2.29
vim-gtk3 –  2:8.2.3995-1ubuntu2.29
vim-gui-common –  2:8.2.3995-1ubuntu2.29
vim-nox –  2:8.2.3995-1ubuntu2.29
vim-runtime –  2:8.2.3995-1ubuntu2.29
vim-tiny –  2:8.2.3995-1ubuntu2.29
xxd –  2:8.2.3995-1ubuntu2.29

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 ›