{"id":"ALSA-2022:0366","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 win_redr_status() in drawscreen.c (CVE-2021-3872)\n\n* vim: illegal memory access in find_start_brace() in cindent.c when C-indenting (CVE-2021-3984)\n\n* vim: heap-based buffer overflow in find_help_tags() in help.c (CVE-2021-4019)\n\n* vim: use-after-free in win_linetabsize() (CVE-2021-4192)\n\n* vim: out-of-bound read in getvcol() (CVE-2021-4193)\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-02-04T04:14:40.270875Z","published":"2022-02-01T20:12:46Z","related":["CVE-2021-3872","CVE-2021-3984","CVE-2021-4019","CVE-2021-4192","CVE-2021-4193"],"references":[{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2022-0366.html"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-3872"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-3984"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-4019"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-4192"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-4193"}],"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:0366.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:0366.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:0366.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:0366.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:0366.json"}}],"schema_version":"1.7.3"}