Home / mailingsPDF  

[USN-8500-1] Vim vulnerabilities

Posted on 02 July 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-8500-1
July 02, 2026

vim vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 26.04 LTS
- Ubuntu 25.10
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 14.04 LTS

Summary:

Several security issues were fixed in Vim.

Software Description:
- vim: Vi IMproved - enhanced vi editor

Details:

It was discovered that Vim incorrectly handled path traversal in the
zip.vim plugin. An attacker could possibly use this issue to overwrite
arbitrary files. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04
LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS.
(CVE-2026-35177)

It was discovered that Vim incorrectly handled depth tracking when
processing spell files. An attacker could possibly use this issue to cause
a denial of service. (CVE-2026-55693, CVE-2026-55892)

It was discovered that Vim incorrectly handled filename escaping in the
netrw plugin. An attacker could possibly use this issue to execute
arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04
LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10,
and Ubuntu 26.04 LTS. (CVE-2026-55895)

It was discovered that Vim incorrectly handled length calculations when
opening encrypted files. An attacker could possibly use this issue to cause
a denial of service. This issue only affected Ubuntu 22.04 LTS, Ubuntu
24.04 LTS, Ubuntu 25.10, and Ubuntu 26.04 LTS. (CVE-2026-57452)

Dhruv Vishesh Gupta discovered that Vim incorrectly handled quoting of
archive entry names. An attacker could possibly use this issue to execute
arbitrary code. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-57453)

It was discovered that Vim incorrectly handled bounds checking when
translating words through a byte map. An attacker could possibly use this
issue to cause a denial of service. (CVE-2026-57455)

Chenyuan Mi discovered that Vim incorrectly handled docstring escaping
during Python omni-completion. An attacker could possibly use this issue to
execute arbitrary code. (CVE-2026-57456)

Update instructions:

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

Ubuntu 26.04 LTS
vim 2:9.1.2141-1ubuntu4.6
vim-common 2:9.1.2141-1ubuntu4.6
vim-gtk3 2:9.1.2141-1ubuntu4.6
vim-gui-common 2:9.1.2141-1ubuntu4.6
vim-motif 2:9.1.2141-1ubuntu4.6
vim-nox 2:9.1.2141-1ubuntu4.6
vim-runtime 2:9.1.2141-1ubuntu4.6
vim-tiny 2:9.1.2141-1ubuntu4.6
xxd 2:9.1.2141-1ubuntu4.6

Ubuntu 25.10
vim 2:9.1.0967-1ubuntu6.8
vim-athena 2:9.1.0967-1ubuntu6.8
vim-common 2:9.1.0967-1ubuntu6.8
vim-gtk3 2:9.1.0967-1ubuntu6.8
vim-gui-common 2:9.1.0967-1ubuntu6.8
vim-motif 2:9.1.0967-1ubuntu6.8
vim-nox 2:9.1.0967-1ubuntu6.8
vim-runtime 2:9.1.0967-1ubuntu6.8
vim-tiny 2:9.1.0967-1ubuntu6.8
xxd 2:9.1.0967-1ubuntu6.8

Ubuntu 24.04 LTS
vim 2:9.1.0016-1ubuntu7.17
vim-athena 2:9.1.0016-1ubuntu7.17
vim-common 2:9.1.0016-1ubuntu7.17
vim-gtk3 2:9.1.0016-1ubuntu7.17
vim-gui-common 2:9.1.0016-1ubuntu7.17
vim-motif 2:9.1.0016-1ubuntu7.17
vim-nox 2:9.1.0016-1ubuntu7.17
vim-runtime 2:9.1.0016-1ubuntu7.17
vim-tiny 2:9.1.0016-1ubuntu7.17
xxd 2:9.1.0016-1ubuntu7.17

Ubuntu 22.04 LTS
vim 2:8.2.3995-1ubuntu2.33
vim-athena 2:8.2.3995-1ubuntu2.33
vim-common 2:8.2.3995-1ubuntu2.33
vim-gtk 2:8.2.3995-1ubuntu2.33
vim-gtk3 2:8.2.3995-1ubuntu2.33
vim-gui-common 2:8.2.3995-1ubuntu2.33
vim-nox 2:8.2.3995-1ubuntu2.33
vim-runtime 2:8.2.3995-1ubuntu2.33
vim-tiny 2:8.2.3995-1ubuntu2.33
xxd 2:8.2.3995-1ubuntu2.33

Ubuntu 20.04 LTS
vim 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro
vim-athena 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro
vim-common 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro
vim-gtk 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro
vim-gtk3 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro
vim-gui-common 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro
vim-nox 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro
vim-runtime 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro
vim-tiny 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro
xxd 2:8.1.2269-1ubuntu5.32+esm9
Available with Ubuntu Pro

Ubuntu 18.04 LTS
vim 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
vim-athena 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
vim-common 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
vim-gnome 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
vim-gtk 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
vim-gtk3 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
vim-gui-common 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
vim-nox 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
vim-runtime 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
vim-tiny 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro
xxd 2:8.0.1453-1ubuntu1.13+esm21
Available with Ubuntu Pro

Ubuntu 16.04 LTS
vim 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-athena 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-athena-py2 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-common 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-gnome 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-gnome-py2 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-gtk 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-gtk-py2 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-gtk3 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-gtk3-py2 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-gui-common 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-nox 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-nox-py2 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-runtime 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro
vim-tiny 2:7.4.1689-3ubuntu1.5+esm36
Available with Ubuntu Pro

Ubuntu 14.04 LTS
vim 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro
vim-athena 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro
vim-common 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro
vim-gnome 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro
vim-gtk 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro
vim-gui-common 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro
vim-lesstif 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro
vim-nox 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro
vim-runtime 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro
vim-tiny 2:7.4.052-1ubuntu3.1+esm30
Available with Ubuntu Pro

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

References:
https://ubuntu.com/security/notices/USN-8500-1
CVE-2026-35177, CVE-2026-55693, CVE-2026-55892, CVE-2026-55895,
CVE-2026-57452, CVE-2026-57453, CVE-2026-57455, CVE-2026-57456

Package Information:
https://launchpad.net/ubuntu/+source/vim/2:9.1.2141-1ubuntu4.6
https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.8
https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.17
https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.33

--===============6770393277158775259==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP