{"id":"RLSA-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 Rocky Linux 8.5 Release Notes linked from the References section.","modified":"2026-03-11T06:01:08.754932Z","published":"2021-11-09T13:22:45Z","upstream":["CVE-2021-3778","CVE-2021-3796"],"references":[{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2021:4517"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2004621"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2004728"}],"affected":[{"package":{"name":"vim","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/vim?distro=rocky-linux-8-5-legacy&epoch=2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.0.1763-16.el8"}],"database_specific":{"yum_repository":"BaseOS"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2021:4517.json"}}],"schema_version":"1.7.5","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"}]}