CVE-2026-34982Vim
High 8.2
Follow: this CVE · Vim · Vim We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.2
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 6, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
What happens
Vim is an open source, command line text editor. Prior to version 9.2.0276, a modeline sandbox bypass in Vim allows arbitrary OS command execution when a user opens a crafted file. The `complete`, `guitabtooltip` and `printheader` options are missing the `P_MLE` flag, allowing a modeline to be executed. Additionally, the `mapset()` function lacks a `check_secure()` call, allowing it to be abused from sandboxed expressions. Commit 9.2.0276 fixes the issue.
What to do
- Apply the vendor's security update for Vim.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | < 9.2.0276 |
Official advisories
- Red Hat Security Advisory: vim security update · Red Hat · RHSA-2026:69128 · Sep 21, 2026 High
- Red Hat Security Advisory: vim security update · Red Hat · RHSA-2026:68711 · Sep 18, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:57614 · Sep 12, 2026 High
- gvim-9.2.0398-1.1 on GA media · SUSE · openSUSE-SU-2026:10652-1 · Apr 28, 2026 High
- Security update for vim · SUSE · SUSE-SU-2026:1607-1 · Apr 24, 2026 High
- Security update for vim · SUSE · SUSE-SU-2026:1387-1 · Apr 16, 2026 High
Also: Red Hat (+12), SUSE (+7)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Patch Vendor Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com