Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 544
Alerts This Week
Warning Icon 1 544

Ubuntu 24.10 moderate: Vim denial of service risk from crafted input

ubuntu
Calendar Grey January 21, 2025
Scroller Ubuntu
The latest security patches for Vim on Ubuntu resolve issues that could lead to program crashes and allow for the execution of unauthorized code from specially designed inputs.
Vim could be made to crash or run programs if it received specially crafted input.

Summary

Vim could be made to crash or run programs if it received specially crafted

input.

Software Description:

- vim: Vi IMproved - enhanced vi editor

Details:

It was discovered that Vim incorrectly handled memory when closing buffers

with the visual mode active. An attacker could possibly use this issue to

cause a denial of service or execute arbitrary code.

Update Instructions

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

Ubuntu 24.10
   vim                             2:9.1.0496-1ubuntu6.3

Ubuntu 24.04 LTS
   vim                             2:9.1.0016-1ubuntu7.6

Ubuntu 22.04 LTS
   vim                             2:8.2.3995-1ubuntu2.22

Ubuntu 20.04 LTS
   vim                             2:8.1.2269-1ubuntu5.30

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

References

  https://ubuntu.com/security/notices/USN-7220-1

  CVE-2025-22134

Ubuntu Security Notice USN-7220-1

Package Information

  https://launchpad.net/ubuntu/+source/vim/2:9.1.0496-1ubuntu6.3
  https://launchpad.net/ubuntu/+source/vim/2:9.1.0016-1ubuntu7.6
  https://launchpad.net/ubuntu/+source/vim/2:8.2.3995-1ubuntu2.22
  https://launchpad.net/ubuntu/+source/vim/2:8.1.2269-1ubuntu5.30

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.