{"id":"ALSA-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-01-30T01:25:40.507700Z","published":"2022-03-15T09:11:53Z","related":["CVE-2022-0261","CVE-2022-0318","CVE-2022-0359","CVE-2022-0361","CVE-2022-0392","CVE-2022-0413"],"references":[{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2022-0894.html"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2022-0261"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2022-0318"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2022-0359"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2022-0361"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2022-0392"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2022-0413"}],"affected":[{"package":{"name":"vim-X11","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/vim-X11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.13"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0894.json"}},{"package":{"name":"vim-X11","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/vim-X11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.12"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0894.json"}},{"package":{"name":"vim-common","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/vim-common"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.12"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0894.json"}},{"package":{"name":"vim-common","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/vim-common"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.13"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0894.json"}},{"package":{"name":"vim-enhanced","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/vim-enhanced"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.13"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0894.json"}},{"package":{"name":"vim-enhanced","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/vim-enhanced"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.12"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0894.json"}},{"package":{"name":"vim-filesystem","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/vim-filesystem"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.13"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0894.json"}},{"package":{"name":"vim-filesystem","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/vim-filesystem"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.12"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0894.json"}},{"package":{"name":"vim-minimal","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/vim-minimal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8_5.13"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0894.json"}}],"schema_version":"1.7.3"}