{"id":"RLSA-2022:0894","summary":"Moderate: vim security update","details":"Vim (Vi IMproved) is an updated and improved version of the vi editor.\n\nSecurity Fix(es):\n\n* vim: Heap-based buffer overflow in block_insert() in src/ops.c (CVE-2022-0261)\n\n* vim: Heap-based buffer overflow in utf_head_off() in mbyte.c (CVE-2022-0318)\n\n* vim: Heap-based buffer overflow in init_ccline() in ex_getln.c (CVE-2022-0359)\n\n* vim: Illegal memory access when copying lines in visual mode leads to heap buffer overflow (CVE-2022-0361)\n\n* vim: Heap-based buffer overflow in getexmodeline() in ex_getln.c (CVE-2022-0392)\n\n* vim: Use after free in src/ex_cmds.c (CVE-2022-0413)\n\nFor 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.","modified":"2026-03-11T06:02:03.956325Z","published":"2022-03-15T09:11:53Z","upstream":["CVE-2022-0261","CVE-2022-0318","CVE-2022-0359","CVE-2022-0361","CVE-2022-0392","CVE-2022-0413"],"references":[{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2022:0894"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2044607"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2045355"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2046479"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2048519"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2049175"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2050053"}],"affected":[{"package":{"name":"vim","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/vim?distro=rocky-linux-8-5-legacy&epoch=2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.12"}],"database_specific":{"yum_repository":"BaseOS"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:0894.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"credits":[{"name":"Rocky Enterprise Software Foundation"},{"name":"Red Hat"}]}