---
title: 'USN-8171-1: Vim vulnerabilities | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-8171-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-8171-1

---

# USN-8171-1: Vim vulnerabilities

Publication date

13 April 2026

Overview

Several security issues were fixed in Vim.

Releases

[25.10](https://ubuntu.com/security/notices?release=questing)
[24.04 LTS](https://ubuntu.com/security/notices?release=noble)
[22.04 LTS](https://ubuntu.com/security/notices?release=jammy)
[20.04 LTS](https://ubuntu.com/security/notices?release=focal)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)
[14.04 LTS](https://ubuntu.com/security/notices?release=trusty)

---

Open side navigation

## Packages

* [vim](https://ubuntu.com/security/cves?package=vim) - Vi IMproved - enhanced vi editor

## Details

Nathan Mills discovered that Vim could crash when parsing certain regular
expressions. An attacker could possibly use this issue to cause a denial of
service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 25.10
([CVE-2026-32249](https://ubuntu.com/security/CVE-2026-32249))

It was discovered that Vim did not properly sanitize user input. An
attacker could possibly use this issue to execute arbitrary commands.
([CVE-2026-33412](https://ubuntu.com/security/CVE-2026-33412))

Avishay Matayev discovered that Vim's modeline sandbox could be bypassed
when opening a maliciously-crafted file. An attacker could possibly use
this issue to execute arbitrary commands. This issue only affected Ubuntu
20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 25.10.
([CVE-2026-34982](https://ubuntu.com/security/CVE-2026-34982))

## Update instructions

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

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

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

| Ubuntu Release | Package Version |
| --- | --- |
| 25.10 questing | [vim](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| [vim-athena](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| [vim-common](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| [vim-gtk3](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| [vim-gui-common](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| [vim-motif](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| [vim-nox](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| [vim-runtime](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| [vim-tiny](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| [xxd](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0967-1ubuntu6.2](https://launchpad.net/ubuntu/+source/vim/2:9.1.0967-1ubuntu6.2) | | |
| 24.04 LTS noble | [vim](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| [vim-athena](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| [vim-common](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| [vim-gtk3](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| [vim-gui-common](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| [vim-motif](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| [vim-nox](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| [vim-runtime](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| [vim-tiny](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| [xxd](https://launchpad.net/ubuntu/+source/vim) –  [2:9.1.0016-1ubuntu7.11](https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.11) | | |
| 22.04 LTS jammy | [vim](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| [vim-athena](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| [vim-common](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| [vim-gtk](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| [vim-gtk3](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| [vim-gui-common](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| [vim-nox](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| [vim-runtime](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| [vim-tiny](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| [xxd](https://launchpad.net/ubuntu/+source/vim) –  [2:8.2.3995-1ubuntu2.27](https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.27) | | |
| 20.04 LTS focal | [vim](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| [vim-athena](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| [vim-common](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| [vim-gtk](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| [vim-gtk3](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| [vim-gui-common](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| [vim-nox](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| [vim-runtime](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| [vim-tiny](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| [xxd](https://launchpad.net/ubuntu/+source/vim) –  2:8.1.2269-1ubuntu5.32+esm3   Ubuntu Pro | | |
| 18.04 LTS bionic | [vim](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [vim-athena](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [vim-common](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [vim-gnome](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [vim-gtk](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [vim-gtk3](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [vim-gui-common](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [vim-nox](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [vim-runtime](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [vim-tiny](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| [xxd](https://launchpad.net/ubuntu/+source/vim) –  2:8.0.1453-1ubuntu1.13+esm15   Ubuntu Pro | | |
| 16.04 LTS xenial | [vim](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-athena](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-athena-py2](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-common](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-gnome](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-gnome-py2](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-gtk](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-gtk-py2](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-gtk3](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-gtk3-py2](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-gui-common](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-nox](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-nox-py2](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-runtime](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| [vim-tiny](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.1689-3ubuntu1.5+esm30   Ubuntu Pro | | |
| 14.04 LTS trusty | [vim](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |
| [vim-athena](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |
| [vim-common](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |
| [vim-gnome](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |
| [vim-gtk](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |
| [vim-gui-common](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |
| [vim-lesstif](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |
| [vim-nox](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |
| [vim-runtime](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |
| [vim-tiny](https://launchpad.net/ubuntu/+source/vim) –  2:7.4.052-1ubuntu3.1+esm24   Ubuntu Pro | | |

---

### 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.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2026-34982](https://ubuntu.com/security/CVE-2026-34982)
* [CVE-2026-33412](https://ubuntu.com/security/CVE-2026-33412)
* [CVE-2026-32249](https://ubuntu.com/security/CVE-2026-32249)
