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

Moderate: vim security update

Published Mar 15, 2022 · Updated Feb 5, 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 1

ReleasePackageFixed in
Rocky Linux · 8 vim 2:8.0.1763-16.el8_5.12

Vulnerabilities 6

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044607
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2045355
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2046479
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2048519
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2049175
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2050053