{"schema_version":"1.7.2","id":"OESA-2025-1166","modified":"2025-02-21T13:37:01Z","published":"2025-02-21T13:37:01Z","upstream":["CVE-2025-22134"],"summary":"vim security update","details":"Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor \u0026amp;apos;Vi\u0026amp;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\nWhen switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer overflow, because Vim does not properly end visual mode and therefore may try to access beyond the end of a line in a buffer. In Patch 9.1.1003 Vim will correctly reset the visual mode before opening other windows and buffers and therefore fix this bug. In addition it does verify that it won\u0026apos;t try to access a position if the position is greater than the corresponding buffer line. Impact is medium since the user must have switched on visual mode when executing the :all ex command. The Vim project would like to thank github user gandalf4a for reporting this issue. The issue has been fixed as of Vim patch v9.1.1003(CVE-2025-22134)","affected":[{"package":{"ecosystem":"openEuler:24.03-LTS-SP1","name":"vim","purl":"pkg:rpm/openEuler/vim\u0026distro=openEuler-24.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.2092-16.oe2403sp1"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-common-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-debuginfo-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-debugsource-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-enhanced-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-minimal-9.0.2092-16.oe2403sp1.aarch64.rpm"],"noarch":["vim-filesystem-9.0.2092-16.oe2403sp1.noarch.rpm"],"src":["vim-9.0.2092-16.oe2403sp1.src.rpm"],"x86_64":["vim-X11-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-common-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-debuginfo-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-debugsource-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-enhanced-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-minimal-9.0.2092-16.oe2403sp1.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:20.03-LTS-SP4","name":"vim","purl":"pkg:rpm/openEuler/vim\u0026distro=openEuler-20.03-LTS-SP4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0-31.oe2003sp4"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0-31.oe2003sp4.aarch64.rpm","vim-common-9.0-31.oe2003sp4.aarch64.rpm","vim-debuginfo-9.0-31.oe2003sp4.aarch64.rpm","vim-debugsource-9.0-31.oe2003sp4.aarch64.rpm","vim-enhanced-9.0-31.oe2003sp4.aarch64.rpm","vim-minimal-9.0-31.oe2003sp4.aarch64.rpm"],"noarch":["vim-filesystem-9.0-31.oe2003sp4.noarch.rpm"],"src":["vim-9.0-31.oe2003sp4.src.rpm"],"x86_64":["vim-X11-9.0-31.oe2003sp4.x86_64.rpm","vim-common-9.0-31.oe2003sp4.x86_64.rpm","vim-debuginfo-9.0-31.oe2003sp4.x86_64.rpm","vim-debugsource-9.0-31.oe2003sp4.x86_64.rpm","vim-enhanced-9.0-31.oe2003sp4.x86_64.rpm","vim-minimal-9.0-31.oe2003sp4.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:22.03-LTS-SP3","name":"vim","purl":"pkg:rpm/openEuler/vim\u0026distro=openEuler-22.03-LTS-SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0-31.oe2203sp3"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0-31.oe2203sp3.aarch64.rpm","vim-common-9.0-31.oe2203sp3.aarch64.rpm","vim-debuginfo-9.0-31.oe2203sp3.aarch64.rpm","vim-debugsource-9.0-31.oe2203sp3.aarch64.rpm","vim-enhanced-9.0-31.oe2203sp3.aarch64.rpm","vim-minimal-9.0-31.oe2203sp3.aarch64.rpm"],"noarch":["vim-filesystem-9.0-31.oe2203sp3.noarch.rpm"],"src":["vim-9.0-31.oe2203sp3.src.rpm"],"x86_64":["vim-X11-9.0-31.oe2203sp3.x86_64.rpm","vim-common-9.0-31.oe2203sp3.x86_64.rpm","vim-debuginfo-9.0-31.oe2203sp3.x86_64.rpm","vim-debugsource-9.0-31.oe2203sp3.x86_64.rpm","vim-enhanced-9.0-31.oe2203sp3.x86_64.rpm","vim-minimal-9.0-31.oe2203sp3.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:22.03-LTS-SP4","name":"vim","purl":"pkg:rpm/openEuler/vim\u0026distro=openEuler-22.03-LTS-SP4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0-31.oe2203sp4"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0-31.oe2203sp4.aarch64.rpm","vim-common-9.0-31.oe2203sp4.aarch64.rpm","vim-debuginfo-9.0-31.oe2203sp4.aarch64.rpm","vim-debugsource-9.0-31.oe2203sp4.aarch64.rpm","vim-enhanced-9.0-31.oe2203sp4.aarch64.rpm","vim-minimal-9.0-31.oe2203sp4.aarch64.rpm"],"noarch":["vim-filesystem-9.0-31.oe2203sp4.noarch.rpm"],"src":["vim-9.0-31.oe2203sp4.src.rpm"],"x86_64":["vim-X11-9.0-31.oe2203sp4.x86_64.rpm","vim-common-9.0-31.oe2203sp4.x86_64.rpm","vim-debuginfo-9.0-31.oe2203sp4.x86_64.rpm","vim-debugsource-9.0-31.oe2203sp4.x86_64.rpm","vim-enhanced-9.0-31.oe2203sp4.x86_64.rpm","vim-minimal-9.0-31.oe2203sp4.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:24.03-LTS","name":"vim","purl":"pkg:rpm/openEuler/vim\u0026distro=openEuler-24.03-LTS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.2092-16.oe2403"}]}],"ecosystem_specific":{"aarch64":["vim-X11-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-common-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-debuginfo-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-debugsource-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-enhanced-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-minimal-9.0.2092-16.oe2403sp1.aarch64.rpm","vim-X11-9.0.2092-16.oe2403.aarch64.rpm","vim-common-9.0.2092-16.oe2403.aarch64.rpm","vim-debuginfo-9.0.2092-16.oe2403.aarch64.rpm","vim-debugsource-9.0.2092-16.oe2403.aarch64.rpm","vim-enhanced-9.0.2092-16.oe2403.aarch64.rpm","vim-minimal-9.0.2092-16.oe2403.aarch64.rpm"],"noarch":["vim-filesystem-9.0.2092-16.oe2403sp1.noarch.rpm","vim-filesystem-9.0.2092-16.oe2403.noarch.rpm"],"src":["vim-9.0.2092-16.oe2403sp1.src.rpm","vim-9.0.2092-16.oe2403.src.rpm"],"x86_64":["vim-X11-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-common-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-debuginfo-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-debugsource-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-enhanced-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-minimal-9.0.2092-16.oe2403sp1.x86_64.rpm","vim-X11-9.0.2092-16.oe2403.x86_64.rpm","vim-common-9.0.2092-16.oe2403.x86_64.rpm","vim-debuginfo-9.0.2092-16.oe2403.x86_64.rpm","vim-debugsource-9.0.2092-16.oe2403.x86_64.rpm","vim-enhanced-9.0.2092-16.oe2403.x86_64.rpm","vim-minimal-9.0.2092-16.oe2403.x86_64.rpm"]}}],"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1166"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22134"}],"database_specific":{"severity":"Medium"}}