{"schema_version":"1.7.2","id":"OESA-2026-3027","modified":"2026-07-19T03:48:06Z","published":"2026-07-19T03:48:06Z","upstream":["CVE-2026-57452","CVE-2026-57455","CVE-2026-57456"],"summary":"vim security update","details":"Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor &amp;apos;Vi&amp;apos;, with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.\r\n\r\nSecurity Fix(es):\n\nVim is an open source, command line text editor. Prior to 9.2.0671, when Vim opens a file encrypted with the VimCrypt~04! or VimCrypt~05!\nmethod (xchacha20poly1305, requires the +sodium feature) whose body is shorter than a single libsodium secretstream header, an unsigned length calculation underflows and a subsequent decryption call reads far past the end of the input buffer, crashing Vim. This vulnerability is fixed in 9.2.0671.(CVE-2026-57452)\n\nVim is an open source, command line text editor. Prior to 9.2.0698, the single-byte branch of spell_soundfold_sofo() in src/spell.c translates a word through a spell file&apos;s SOFO (sound-folding) byte map into a caller-owned result buffer. Its copy loop advances the output index ri with no upper bound and terminates only on the input NUL, writing one byte per input byte into the MAXWLEN-element stack buffer the caller provides. A word longer than MAXWLEN, passed to soundfold() (or reached via sound-based spell suggestion) while a SOFO-based spell language is active, therefore writes past the end of that buffer. This is a stack out-of-bounds write that corrupts the call frame and crashes the editor. This vulnerability is fixed in 9.2.0698.(CVE-2026-57455)\n\nVim is an open source, command line text editor. Prior to 9.2.0699, Vim&apos;s Python omni-completion (runtime/autoload/python3complete.vim and the legacy pythoncomplete.vim) executes reconstructed function and class definitions from the current buffer with exec() as part of populating the completion dictionary. When reconstructing that source, each scope&apos;s docstring is inserted verbatim between triple quotes with no escaping, so a hostile buffer can break out of the triple-quoted literal and execute attacker-controlled Python during omni-completion. This vulnerability is fixed in 9.2.0699.(CVE-2026-57456)","affected":[{"package":{"ecosystem":"openEuler:24.03-LTS-SP4","name":"vim","purl":"pkg:rpm/openEuler/vim&distro=openEuler-24.03-LTS-SP4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.2092-38.oe2403sp4"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0.2092-38.oe2403sp4.aarch64.rpm","vim-common-9.0.2092-38.oe2403sp4.aarch64.rpm","vim-debuginfo-9.0.2092-38.oe2403sp4.aarch64.rpm","vim-debugsource-9.0.2092-38.oe2403sp4.aarch64.rpm","vim-enhanced-9.0.2092-38.oe2403sp4.aarch64.rpm","vim-minimal-9.0.2092-38.oe2403sp4.aarch64.rpm"],"noarch":["vim-filesystem-9.0.2092-38.oe2403sp4.noarch.rpm"],"src":["vim-9.0.2092-38.oe2403sp4.src.rpm"],"x86_64":["vim-X11-9.0.2092-38.oe2403sp4.x86_64.rpm","vim-common-9.0.2092-38.oe2403sp4.x86_64.rpm","vim-debuginfo-9.0.2092-38.oe2403sp4.x86_64.rpm","vim-debugsource-9.0.2092-38.oe2403sp4.x86_64.rpm","vim-enhanced-9.0.2092-38.oe2403sp4.x86_64.rpm","vim-minimal-9.0.2092-38.oe2403sp4.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:20.03-LTS-SP4","name":"vim","purl":"pkg:rpm/openEuler/vim&distro=openEuler-20.03-LTS-SP4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0-52.oe2003sp4"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0-52.oe2003sp4.aarch64.rpm","vim-common-9.0-52.oe2003sp4.aarch64.rpm","vim-debuginfo-9.0-52.oe2003sp4.aarch64.rpm","vim-debugsource-9.0-52.oe2003sp4.aarch64.rpm","vim-enhanced-9.0-52.oe2003sp4.aarch64.rpm","vim-minimal-9.0-52.oe2003sp4.aarch64.rpm"],"noarch":["vim-filesystem-9.0-52.oe2003sp4.noarch.rpm"],"src":["vim-9.0-52.oe2003sp4.src.rpm"],"x86_64":["vim-X11-9.0-52.oe2003sp4.x86_64.rpm","vim-common-9.0-52.oe2003sp4.x86_64.rpm","vim-debuginfo-9.0-52.oe2003sp4.x86_64.rpm","vim-debugsource-9.0-52.oe2003sp4.x86_64.rpm","vim-enhanced-9.0-52.oe2003sp4.x86_64.rpm","vim-minimal-9.0-52.oe2003sp4.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:22.03-LTS-SP4","name":"vim","purl":"pkg:rpm/openEuler/vim&distro=openEuler-22.03-LTS-SP4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0-52.oe2203sp4"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0-52.oe2203sp4.aarch64.rpm","vim-common-9.0-52.oe2203sp4.aarch64.rpm","vim-debuginfo-9.0-52.oe2203sp4.aarch64.rpm","vim-debugsource-9.0-52.oe2203sp4.aarch64.rpm","vim-enhanced-9.0-52.oe2203sp4.aarch64.rpm","vim-minimal-9.0-52.oe2203sp4.aarch64.rpm"],"noarch":["vim-filesystem-9.0-52.oe2203sp4.noarch.rpm"],"src":["vim-9.0-52.oe2203sp4.src.rpm"],"x86_64":["vim-X11-9.0-52.oe2203sp4.x86_64.rpm","vim-common-9.0-52.oe2203sp4.x86_64.rpm","vim-debuginfo-9.0-52.oe2203sp4.x86_64.rpm","vim-debugsource-9.0-52.oe2203sp4.x86_64.rpm","vim-enhanced-9.0-52.oe2203sp4.x86_64.rpm","vim-minimal-9.0-52.oe2203sp4.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:24.03-LTS-SP1","name":"vim","purl":"pkg:rpm/openEuler/vim&distro=openEuler-24.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.2092-38.oe2403sp1"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0.2092-38.oe2403sp1.aarch64.rpm","vim-common-9.0.2092-38.oe2403sp1.aarch64.rpm","vim-debuginfo-9.0.2092-38.oe2403sp1.aarch64.rpm","vim-debugsource-9.0.2092-38.oe2403sp1.aarch64.rpm","vim-enhanced-9.0.2092-38.oe2403sp1.aarch64.rpm","vim-minimal-9.0.2092-38.oe2403sp1.aarch64.rpm"],"noarch":["vim-filesystem-9.0.2092-38.oe2403sp1.noarch.rpm"],"src":["vim-9.0.2092-38.oe2403sp1.src.rpm"],"x86_64":["vim-X11-9.0.2092-38.oe2403sp1.x86_64.rpm","vim-common-9.0.2092-38.oe2403sp1.x86_64.rpm","vim-debuginfo-9.0.2092-38.oe2403sp1.x86_64.rpm","vim-debugsource-9.0.2092-38.oe2403sp1.x86_64.rpm","vim-enhanced-9.0.2092-38.oe2403sp1.x86_64.rpm","vim-minimal-9.0.2092-38.oe2403sp1.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:24.03-LTS-SP3","name":"vim","purl":"pkg:rpm/openEuler/vim&distro=openEuler-24.03-LTS-SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.2092-38.oe2403sp3"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0.2092-38.oe2403sp3.aarch64.rpm","vim-common-9.0.2092-38.oe2403sp3.aarch64.rpm","vim-debuginfo-9.0.2092-38.oe2403sp3.aarch64.rpm","vim-debugsource-9.0.2092-38.oe2403sp3.aarch64.rpm","vim-enhanced-9.0.2092-38.oe2403sp3.aarch64.rpm","vim-minimal-9.0.2092-38.oe2403sp3.aarch64.rpm"],"noarch":["vim-filesystem-9.0.2092-38.oe2403sp3.noarch.rpm"],"src":["vim-9.0.2092-38.oe2403sp3.src.rpm"],"x86_64":["vim-X11-9.0.2092-38.oe2403sp3.x86_64.rpm","vim-common-9.0.2092-38.oe2403sp3.x86_64.rpm","vim-debuginfo-9.0.2092-38.oe2403sp3.x86_64.rpm","vim-debugsource-9.0.2092-38.oe2403sp3.x86_64.rpm","vim-enhanced-9.0.2092-38.oe2403sp3.x86_64.rpm","vim-minimal-9.0.2092-38.oe2403sp3.x86_64.rpm"]}}],"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3027"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57452"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57455"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57456"}],"database_specific":{"severity":"High"}}
