{"id":"ALSA-2022:5813","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:12:53.953984Z","published":"2022-08-03T00:00:00Z","related":["CVE-2022-1785","CVE-2022-1897","CVE-2022-1927"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2022:5813"},{"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/8/ALSA-2022-5813.html"}],"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-19.el8_6.4"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:5813.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-19.el8_6.4"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:5813.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-19.el8_6.4"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:5813.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-19.el8_6.4"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:5813.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-19.el8_6.4"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:5813.json"}}],"schema_version":"1.7.3"}