RLSA-2022:0894

Type: Security
Severity: Moderate
Published: 2022-03-15
Rocky Linux 8

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.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T03:33:11.643Z UTC

Official vendor advisory

Rocky Linux 8

View source
Observed 2026-11-28T03:33:11.643Z UTC. Last updated 2025-12-10T09:35:48.793Z UTC.

Upstream Advisory

Affected Packages

  • vim-common 2:8.0.1763-16.el8_5.12

  • vim-enhanced 2:8.0.1763-16.el8_5.12

  • vim-filesystem 2:8.0.1763-16.el8_5.12

  • vim-minimal 2:8.0.1763-16.el8_5.12

  • vim-X11 2:8.0.1763-16.el8_5.12

Interested in being alerted when there are new versions of vim-common and the other packages? Set up an alert.
RLSA-2022:0894: vim security update | Package Alert