{"id":"ALSA-2022:5942","summary":"Moderate: vim security update","details":"Vim (Vi IMproved) is an updated and improved version of the vi editor.\nSecurity Fix(es):\n* vim: Out-of-bounds Write (CVE-2022-1785)\n* vim: out-of-bounds write in vim_regsub_both() in regexp.c (CVE-2022-1897)\n* vim: buffer over-read in utf_ptr2char() in mbyte.c (CVE-2022-1927)\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-30T02:23:32.331155Z","published":"2022-08-09T00:00:00Z","related":["CVE-2022-1785","CVE-2022-1897","CVE-2022-1927"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2022:5942"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-1785"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-1897"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-1927"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2088689"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2091682"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2091687"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2022-5942.html"}],"affected":[{"package":{"name":"vim-X11","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/vim-X11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.2.2637-16.el9_0.3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:5942.json"}},{"package":{"name":"vim-common","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/vim-common"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.2.2637-16.el9_0.3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:5942.json"}},{"package":{"name":"vim-enhanced","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/vim-enhanced"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.2.2637-16.el9_0.3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:5942.json"}},{"package":{"name":"vim-filesystem","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/vim-filesystem"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.2.2637-16.el9_0.3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:5942.json"}},{"package":{"name":"vim-minimal","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/vim-minimal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.2.2637-16.el9_0.3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:5942.json"}}],"schema_version":"1.7.3"}