CVE-2026-34982: Vim is an open source, command line text editor
CVE-2026-34982 is a high-severity flaw (CVSS 8.2) affecting vim. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 t
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.2 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 82%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2026-04-06 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Advisories and coverage
Official advisories
- AlmaLinux Errata: [ALSA-2026:19224] Important: vim security update 2026-05-26
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-34982?
vim: upgrade to 9.2.0276. Exact commands for each OS are on this page.
Is CVE-2026-34982 being exploited?
CVE-2026-34982 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-34982 affect?
CVE-2026-34982 affects vim. Severity is high (CVSS 8.2). 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 a
How urgent is CVE-2026-34982?
Priority 33/100. High severity
Software pages
Related CVEs
- CVE-2026-51400 HIGH 8.4 UPGRADE An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitrary code via the vms_fi
- CVE-2026-51401 HIGH 7.7 UPGRADE An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitrary code via the vms_fi