{"id":"CLSA-2026-1777945409","summary":"vim: Fix of 2 CVEs","details":"- CVE-2021-3984: in find_start_brace() (misc1.c), when a found '{' lies\n  inside a comment, restore the full cursor position (line and column)\n  instead of only the line so subsequent C-indent lookups stay within\n  the line bounds.\n- CVE-2022-2571: in ins_compl_get_exp() (edit.c), when CONT_ADDING is\n  active, only advance tmp_ptr by compl_length if compl_length does not\n  exceed the remaining line length, so insert-mode completion no longer\n  reads past the end of the line.","modified":"2026-06-01T00:33:18.778144217Z","published":"2026-05-05T23:31:50Z","upstream":["CVE-2021-3984","CVE-2022-2571"],"references":[{"type":"ADVISORY","url":"https://errata.tuxcare.com/els_os/centos7els/CLSA-2026-1777945409.html"}],"affected":[{"package":{"name":"vim-X11","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-X11?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.0.1.el7_9.tuxcare.els13"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1777945409.json"}},{"package":{"name":"vim-common","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-common?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.0.1.el7_9.tuxcare.els13"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1777945409.json"}},{"package":{"name":"vim-enhanced","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-enhanced?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.0.1.el7_9.tuxcare.els13"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1777945409.json"}},{"package":{"name":"vim-filesystem","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-filesystem?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.0.1.el7_9.tuxcare.els13"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1777945409.json"}},{"package":{"name":"vim-minimal","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-minimal?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.0.1.el7_9.tuxcare.els13"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1777945409.json"}}],"schema_version":"1.7.5"}