QID 240146

Date Published: 2022-03-16

QID 240146: Red Hat Update for vim (RHSA-2022:0894)

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)

Affected Products:

  • Red Hat enterprise linux for x86_64 8 x86_64
  • Red Hat enterprise linux for ibm z systems 8 s390x
  • Red Hat enterprise linux for power, little endian 8 ppc64le
  • Red Hat virtualization host 4 for rhel 8 x86_64
  • Red Hat enterprise linux for arm 64 8 aarch64



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Refer to Red Hat security advisory RHSA-2022:0894 for updates and patch information.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    RHSA-2022:0894 Red Hat Enterprise Linux URL Logo access.redhat.com/errata/RHSA-2022:0894