Skip to content
OpenAdvisories
Medium ALSA-2022:0894 6 CVEs

Moderate: vim security update

Published Mar 15, 2022 · Updated Oct 29, 2026

Summary

Vim (Vi IMproved) is an updated and improved version of the vi editor.

Security Fix(es):

* vim: Heap-based buffer overflow in block_insert() in src/ops.c (CVE-2022-0261)

* vim: Heap-based buffer overflow in utf_head_off() in mbyte.c (CVE-2022-0318)

* vim: Heap-based buffer overflow in init_ccline() in ex_getln.c (CVE-2022-0359)

* vim: Illegal memory access when copying lines in visual mode leads to heap buffer overflow (CVE-2022-0361)

* vim: Heap-based buffer overflow in getexmodeline() in ex_getln.c (CVE-2022-0392)

* vim: Use after free in src/ex_cmds.c (CVE-2022-0413)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Fixed packages 9

ReleasePackageFixed in
AlmaLinux · 8 vim-common 2:8.0.1763-16.el8_5.12
AlmaLinux · 8 vim-common 2:8.0.1763-16.el8_5.13
AlmaLinux · 8 vim-enhanced 2:8.0.1763-16.el8_5.13
AlmaLinux · 8 vim-enhanced 2:8.0.1763-16.el8_5.12
AlmaLinux · 8 vim-filesystem 2:8.0.1763-16.el8_5.13
AlmaLinux · 8 vim-filesystem 2:8.0.1763-16.el8_5.12
AlmaLinux · 8 vim-minimal 2:8.0.1763-16.el8_5.13
AlmaLinux · 8 vim-X11 2:8.0.1763-16.el8_5.13
AlmaLinux · 8 vim-X11 2:8.0.1763-16.el8_5.12

Vulnerabilities 6

References

  • report
    https://vulners.com/cve/CVE-2022-0261
  • report
    https://vulners.com/cve/CVE-2022-0318
  • report
    https://vulners.com/cve/CVE-2022-0359
  • report
    https://vulners.com/cve/CVE-2022-0361
  • report
    https://vulners.com/cve/CVE-2022-0392
  • report
    https://vulners.com/cve/CVE-2022-0413