{"id":"ALSA-2021:4517","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 utf_ptr2char() in mbyte.c (CVE-2021-3778)\n\n* vim: use-after-free in nv_replace() in normal.c (CVE-2021-3796)\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.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","modified":"2026-01-30T01:00:00.058769Z","published":"2021-11-09T13:22:45Z","related":["CVE-2021-3778","CVE-2021-3796"],"references":[{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2021-4517.html"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-3778"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-3796"}],"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-2021:4517.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"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:4517.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-2021:4517.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"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:4517.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-2021:4517.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"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:4517.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-2021:4517.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"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:4517.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-2021:4517.json"}}],"schema_version":"1.7.3"}