CVE-2026-34982: high-severity vulnerability in vim
Vim modeline bypass via various options affects Vim < 9.2.0276
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.2epss 0.5%
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Affected products
vim · vimRelated CVEs — vim
In the same product, most dangerous first.
CVE-2025-27423HIGHImproper Input Validation in VimEPSS 22.5%CVE-2026-28417MEDIUMVim has OS Command Injection in netrwEPSS 1.4%CVE-2026-44656MEDIUMVim: OS Command Injection via 'path' completionEPSS 0.9%CVE-2025-53906MEDIUMVim has path traversal issue with zip.vim and special crafted zip archivesEPSS 0.9%CVE-2026-33412MEDIUMVim affected by Command injection via newline in glob()EPSS 0.9%CVE-2026-42307MEDIUMVim: OS Command Injection in netrwEPSS 0.8%
References
https://access.redhat.com/errata/RHSA-2026:11389https://access.redhat.com/errata/RHSA-2026:11509https://access.redhat.com/errata/RHSA-2026:11510https://access.redhat.com/errata/RHSA-2026:19073https://access.redhat.com/errata/RHSA-2026:19224https://access.redhat.com/errata/RHSA-2026:21275https://access.redhat.com/errata/RHSA-2026:22634https://access.redhat.com/errata/RHSA-2026:28049https://access.redhat.com/errata/RHSA-2026:28050https://access.redhat.com/errata/RHSA-2026:28133https://access.redhat.com/errata/RHSA-2026:30078https://access.redhat.com/errata/RHSA-2026:30087