{"id":"RLSA-2022:5942","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: Out-of-bounds Write (CVE-2022-1785)\n\n* vim: out-of-bounds write in vim_regsub_both() in regexp.c (CVE-2022-1897)\n\n* vim: buffer over-read in utf_ptr2char() in mbyte.c (CVE-2022-1927)\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-05T01:30:09.170338Z","published":"2022-08-09T09:32:59Z","upstream":["CVE-2022-1785","CVE-2022-1897","CVE-2022-1927"],"references":[{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2022:5942"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2088689"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2091682"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2091687"}],"affected":[{"package":{"name":"vim","ecosystem":"Rocky Linux:9","purl":"pkg:rpm/rocky-linux/vim?distro=rocky-linux-9&epoch=2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.2.2637-16.el9_0.3"}],"database_specific":{"yum_repository":"BaseOS"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:5942.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"credits":[{"name":"Rocky Enterprise Software Foundation"},{"name":"Red Hat"}]}