USN-7419-1: Vim vulnerabilities

Publication date

7 April 2025

Overview

Vim could be made to crash if it received specially crafted input.


Packages

  • vim - Vi IMproved - enhanced vi editor

Details

It was discovered that Vim incorrectly handled memory when using invalid
input with the log option. An attacker could possibly use this issue to
cause a denial of service. This issue only affected Ubuntu 24.04 LTS and
Ubuntu 24.10. (CVE-2025-1215)

It was discovered that Vim incorrectly handled memory when redirecting
certain output to the register. An attacker could possibly use this issue
to cause a denial of service. (CVE-2025-26603)

It was discovered that Vim incorrectly handled memory when using invalid
input with the log option. An attacker could possibly use this issue to
cause a denial of service. This issue only affected Ubuntu 24.04 LTS and
Ubuntu 24.10. (CVE-2025-1215)

It was discovered that Vim incorrectly handled memory when redirecting
certain output to the register. An attacker could possibly use this issue
to cause a denial of service. (CVE-2025-26603)

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
24.10 oracular vim –  2:9.1.0496-1ubuntu6.5
24.04 noble vim –  2:9.1.0016-1ubuntu7.8
22.04 jammy vim –  2:8.2.3995-1ubuntu2.24
20.04 focal vim –  2:8.1.2269-1ubuntu5.32
18.04 bionic vim –  2:8.0.1453-1ubuntu1.13+esm12  
16.04 xenial vim –  2:7.4.1689-3ubuntu1.5+esm27  
14.04 trusty vim –  2:7.4.052-1ubuntu3.1+esm21  

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 ›