Red Hat Security Advisory: vim security update
🔗 CVE IDs covered (4)
📋 Description
CVE-2026-34982 — vim: arbitrary command execution via modeline sandbox bypass CVE-2026-35177 — vim: zip.vim: Vim zip.vim plugin: Arbitrary file overwrite via path traversal bypass CVE-2026-41411 — vim: Vim: Command injection allows arbitrary code execution via malicious tag files CVE-2026-46483 — vim: command injection when decompressing .tgz archives
🎯 Affected products40
- Red Hat Enterprise Linux AppStream AUS (v.8.6)
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- Red Hat Enterprise Linux BaseOS AUS (v.8.6)
- Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6)
- vim-2:8.0.1763-19.el8_6.6.src as a component of Red Hat Enterprise Linux BaseOS AUS (v.8.6)
- vim-2:8.0.1763-19.el8_6.6.src as a component of Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6)
- vim-X11-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- vim-X11-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- vim-X11-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- vim-X11-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- vim-X11-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux BaseOS AUS (v.8.6)
- vim-X11-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6)
- vim-common-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- vim-common-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- vim-common-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- vim-common-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- vim-common-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux BaseOS AUS (v.8.6)
- vim-common-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6)
- vim-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- vim-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- vim-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux BaseOS AUS (v.8.6)
- vim-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6)
- vim-debugsource-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- vim-debugsource-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- vim-debugsource-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux BaseOS AUS (v.8.6)
- vim-debugsource-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6)
- vim-enhanced-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- vim-enhanced-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- vim-enhanced-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- vim-enhanced-debuginfo-2:8.0.1763-19.el8_6.6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- +10 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 the modeline support by adding the following command to the Vim configuration file: ~~~ set nomodeline ~~~ Workaround: Avoid opening untrusted zip archives with Vim. This operational control prevents the necessary user interaction required to trigger the path traversal vulnerability in the `zip.vim` plugin. Workaround: Mitigation for this issue involves exercising caution when opening or processing tag files from untrusted sources. Users should avoid loading tag files from unknown or suspicious origins to prevent the execution of arbitrary commands. Workaround: To mitigate this vulnerability, do not decompress untrusted .tgz archives with the Vimuntar command. Use 'tar -x -z -f' directly, instead.
🔗 References (7)
- selfhttps://access.redhat.com/errata/RHSA-2026:34477
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2455400
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2455542
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2461614
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2477915
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_34477.json