Red Hat Security Advisory: vim security update
🔗 CVE IDs covered (4)
📋 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-59858 — vim: Vim: Arbitrary command execution via crafted tags file in C omni-completion
🎯 Affected products68
- Red Hat Enterprise Linux AppStream (v. 8)
- Red Hat Enterprise Linux BaseOS (v. 8)
- vim-2:8.0.1763-31.el8_10.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-X11-2:8.0.1763-31.el8_10.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-X11-2:8.0.1763-31.el8_10.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-X11-2:8.0.1763-31.el8_10.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-X11-2:8.0.1763-31.el8_10.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-X11-debuginfo-2:8.0.1763-31.el8_10.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-X11-debuginfo-2:8.0.1763-31.el8_10.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-X11-debuginfo-2:8.0.1763-31.el8_10.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-X11-debuginfo-2:8.0.1763-31.el8_10.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-X11-debuginfo-2:8.0.1763-31.el8_10.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-X11-debuginfo-2:8.0.1763-31.el8_10.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-X11-debuginfo-2:8.0.1763-31.el8_10.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-X11-debuginfo-2:8.0.1763-31.el8_10.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-common-2:8.0.1763-31.el8_10.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-common-2:8.0.1763-31.el8_10.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-common-2:8.0.1763-31.el8_10.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-common-2:8.0.1763-31.el8_10.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-common-debuginfo-2:8.0.1763-31.el8_10.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-common-debuginfo-2:8.0.1763-31.el8_10.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-common-debuginfo-2:8.0.1763-31.el8_10.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-common-debuginfo-2:8.0.1763-31.el8_10.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-common-debuginfo-2:8.0.1763-31.el8_10.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-common-debuginfo-2:8.0.1763-31.el8_10.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-common-debuginfo-2:8.0.1763-31.el8_10.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-common-debuginfo-2:8.0.1763-31.el8_10.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-debuginfo-2:8.0.1763-31.el8_10.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)
- vim-debuginfo-2:8.0.1763-31.el8_10.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- vim-debuginfo-2:8.0.1763-31.el8_10.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)
- +38 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 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 (7)
- selfhttps://access.redhat.com/errata/RHSA-2026:48703
- 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=2498868
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_48703.json