Skip to content
OpenAdvisories
High USN-5995-1 30 CVEs

vim vulnerabilities

Published Apr 4, 2023 · Updated Jun 29, 2026

Summary

It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possible execute arbitrary code. This
issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
and Ubuntu 22.04 LTS. (CVE-2022-0413, CVE-2022-1629, CVE-2022-1674,
CVE-2022-1733, CVE-2022-1735, CVE-2022-1785, CVE-2022-1796, CVE-2022-1851,
CVE-2022-1898, CVE-2022-1942, CVE-2022-1968, CVE-2022-2124, CVE-2022-2125,
CVE-2022-2126, CVE-2022-2129, CVE-2022-2175, CVE-2022-2183, CVE-2022-2206,
CVE-2022-2304, CVE-2022-2345, CVE-2022-2581)

It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possible execute arbitrary code. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-1720, CVE-2022-2571, CVE-2022-2845, CVE-2022-2849,
CVE-2022-2923)

It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possible execute arbitrary code. This
issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-1927,
CVE-2022-2344)

It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possible execute arbitrary code. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS,
and Ubuntu 22.10. (CVE-2022-2946)

It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possible execute arbitrary code. This
issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10.
(CVE-2022-2980)

Fixed packages 4

ReleasePackageFixed in
Ubuntu · 18.04 LTS 18.04:LTS vim 2:8.0.1453-1ubuntu1.12
Ubuntu · 20.04 LTS 20.04:LTS vim 2:8.1.2269-1ubuntu5.13
Ubuntu · 22.04 LTS 22.04:LTS vim 2:8.2.3995-1ubuntu2.5
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS vim 2:7.4.052-1ubuntu3.1+esm8

Vulnerabilities 30

References

  • report
    https://ubuntu.com/security/CVE-2022-0413
  • report
    https://ubuntu.com/security/CVE-2022-1629
  • report
    https://ubuntu.com/security/CVE-2022-1674
  • report
    https://ubuntu.com/security/CVE-2022-1720
  • report
    https://ubuntu.com/security/CVE-2022-1733
  • report
    https://ubuntu.com/security/CVE-2022-1735
  • report
    https://ubuntu.com/security/CVE-2022-1785
  • report
    https://ubuntu.com/security/CVE-2022-1796
  • report
    https://ubuntu.com/security/CVE-2022-1851
  • report
    https://ubuntu.com/security/CVE-2022-1898
  • report
    https://ubuntu.com/security/CVE-2022-1927
  • report
    https://ubuntu.com/security/CVE-2022-1942
  • report
    https://ubuntu.com/security/CVE-2022-1968
  • report
    https://ubuntu.com/security/CVE-2022-2124
  • report
    https://ubuntu.com/security/CVE-2022-2125
  • report
    https://ubuntu.com/security/CVE-2022-2126
  • report
    https://ubuntu.com/security/CVE-2022-2129
  • report
    https://ubuntu.com/security/CVE-2022-2175
  • report
    https://ubuntu.com/security/CVE-2022-2183
  • report
    https://ubuntu.com/security/CVE-2022-2206
  • report
    https://ubuntu.com/security/CVE-2022-2304
  • report
    https://ubuntu.com/security/CVE-2022-2344
  • report
    https://ubuntu.com/security/CVE-2022-2345
  • report
    https://ubuntu.com/security/CVE-2022-2571
  • report
    https://ubuntu.com/security/CVE-2022-2581
  • report
    https://ubuntu.com/security/CVE-2022-2845
  • report
    https://ubuntu.com/security/CVE-2022-2849
  • report
    https://ubuntu.com/security/CVE-2022-2923
  • report
    https://ubuntu.com/security/CVE-2022-2946
  • report
    https://ubuntu.com/security/CVE-2022-2980