Red Hat Security Advisory: vim security update
🔗 CVE IDs covered (5)
📋 Description
CVE-2026-55693 — vim: Vim: Out-of-bounds Write in Spell File Word Count CVE-2026-57455 — vim: Vim: Denial of Service via stack out-of-bounds write in spell_soundfold_sofo() CVE-2026-57456 — vim: Vim: Arbitrary code execution via malicious docstrings in Python omni-completion CVE-2026-59856 — vim: Vim: Arbitrary code execution via crafted PHP file in omni-completion CVE-2026-59858 — vim: Vim: Arbitrary command execution via crafted tags file in C omni-completion
🎯 Affected products73
- Red Hat Enterprise Linux AppStream (v. 10)
- Red Hat Enterprise Linux BaseOS (v. 10)
- vim-2:9.1.083-9.el10_2.12.src as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-X11-2:9.1.083-9.el10_2.12.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-X11-2:9.1.083-9.el10_2.12.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-X11-2:9.1.083-9.el10_2.12.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-X11-2:9.1.083-9.el10_2.12.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-X11-debuginfo-2:9.1.083-9.el10_2.12.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-X11-debuginfo-2:9.1.083-9.el10_2.12.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-X11-debuginfo-2:9.1.083-9.el10_2.12.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-X11-debuginfo-2:9.1.083-9.el10_2.12.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-X11-debuginfo-2:9.1.083-9.el10_2.12.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-X11-debuginfo-2:9.1.083-9.el10_2.12.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-X11-debuginfo-2:9.1.083-9.el10_2.12.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-X11-debuginfo-2:9.1.083-9.el10_2.12.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-common-2:9.1.083-9.el10_2.12.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-common-2:9.1.083-9.el10_2.12.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-common-2:9.1.083-9.el10_2.12.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-common-2:9.1.083-9.el10_2.12.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-data-2:9.1.083-9.el10_2.12.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-debuginfo-2:9.1.083-9.el10_2.12.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-debuginfo-2:9.1.083-9.el10_2.12.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-debuginfo-2:9.1.083-9.el10_2.12.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-debuginfo-2:9.1.083-9.el10_2.12.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-debuginfo-2:9.1.083-9.el10_2.12.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-debuginfo-2:9.1.083-9.el10_2.12.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-debuginfo-2:9.1.083-9.el10_2.12.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-debuginfo-2:9.1.083-9.el10_2.12.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- vim-debugsource-2:9.1.083-9.el10_2.12.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- vim-debugsource-2:9.1.083-9.el10_2.12.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- +43 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: To mitigate this issue disable spell checking or avoid using SOFO-based spell files. This can be achieved globally by adding set nospell to your ~/.vimrc configuration file. Ensure your systems utilize standard UTF-8 encoding. This flaw is strictly confined to legacy 8-bit encodings and cannot be triggered under default Red Hat configurations. Workaround: To mitigate this vulnerability, users should avoid opening untrusted Python files or using Python omni-completion on such files. If Python omni-completion is not required, it can be disabled by adding `autocmd FileType python setlocal omnifunc=` to your `.vimrc` file. This will prevent the vulnerable code from being executed. Disabling Python omni-completion will remove the ability to use `Ctrl-X Ctrl-O` for Python code completion. A restart of Vim is required for the changes to take effect. Workaround: Users should exercise caution when opening untrusted PHP files and avoid invoking omni-completion on them. To prevent exploitation, the PHP omni-completion script can be disabled by moving or renaming `phpcomplete.vim`. For example, execute `mv /usr/share/vim/vim*/autoload/phpcomplete.vim /usr/share/vim/vim*/autoload/phpcomplete.vim.bak`. This action will disable PHP omni-completion functionality. A restart of Vim is necessary for this change to take effect. Workaround: Users are advised to avoid opening untrusted C source files or project tags files in Vim. Exercising caution and only processing trusted content prevents exploitation.
🔗 References (8)
- selfhttps://access.redhat.com/errata/RHSA-2026:48650
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2492968
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2492972
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2492980
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2498867
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2498868
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_48650.json