CVE-2026-34982
Last modified
CVE-2026-34982 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | < 9.2.0276 |
References
- https://github.com/vim/vim/releases/tag/v9.2.0276Release Notes
- https://github.com/vim/vim/security/advisories/GHSA-8h6p-m6gr-mpw9Patch, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2026/04/01/1Mailing List, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-34982?
How severe is CVE-2026-34982?
How do I fix CVE-2026-34982?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-34977Aperi'Solve is an open-source steganalysis web platform. In …9.8
- CVE-2026-34978OpenPrinting CUPS is an open source printing system for Linu…6.5
- CVE-2026-34979OpenPrinting CUPS is an open source printing system for Linu…5.3
- CVE-2026-3498The BlockArt Blocks plugin for WordPress is vulnerable to St…6.4
- CVE-2026-34980OpenPrinting CUPS is an open source printing system for Linu…7.5
- CVE-2026-34981The whisperX API is a tool for enhancing and analyzing audio…5.8
- CVE-2026-34983Wasmtime is a runtime for WebAssembly. In 43.0.0, cloning a …5
- CVE-2026-34984External Secrets Operator reads information from a third-par…6.5
- CVE-2026-34985LORIS (Longitudinal Online Research and Imaging System) is a…6.5
- CVE-2026-34986Go JOSE provides an implementation of the Javascript Object …7.5
- CVE-2026-34987Wasmtime is a runtime for WebAssembly. From 25.0.0 to before…9.9
- CVE-2026-34988Wasmtime is a runtime for WebAssembly. From 28.0.0 to before…6.3
Are you affected by CVE-2026-34982?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
