RCE in Vim
CVE-2026-34982
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…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.000 (10.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
Affected products
- Vim — versions < 9.2.0276
Weakness classification (CWE)
References
- https://github.com/vim/vim/security/advisories/GHSA-8h6p-m6gr-mpw9 (x_refsource_CONFIRM)
- https://github.com/vim/vim/commit/75661a66a1db1e1f3f1245c615 (x_refsource_MISC)
- https://github.com/vim/vim/releases/tag/v9.2.0276 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-34982?
- CVE-2026-34982 is a high-severity vulnerability in Vim, classified under OS Command Injection. CVSS score: 8.2/10. Published 2026-04-06.
- How severe is CVE-2026-34982?
- High severity. CVSS v3 base score is 8.2 out of 10.