CVE-2026-34982

HIGH EPSS 33.5%
Published Apr 6, 20262mo ago · Modified Jun 17, 20262w ago
8.2 CVSS 3.1
High
Find Similar
Published Apr 6, 2026 2mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
8.2
Exploitability
1.8
Impact
5.8
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality High
Integrity High
Availability None

Threat Intelligence

EPSS Exploit Probability
33.5% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-78 OS Command Injection Injection

Affected Products 1

VendorProductVersionRange
vimvim* <9.2.0276

References 4

  • openwall.com http://www.openwall.com/lists/oss-security/2026/04/01/1
    Mailing ListPatchThird Party Advisory
  • github.com https://github.com/vim/vim/commit/75661a66a1db1e1f3f1245c615
    Patch
  • github.com https://github.com/vim/vim/releases/tag/v9.2.0276
    Release Notes
  • github.com https://github.com/vim/vim/security/advisories/GHSA-8h6p-m6gr-mpw9
    PatchVendor Advisory

Remediation

  • openwall.com http://www.openwall.com/lists/oss-security/2026/04/01/1
    Mailing ListPatchThird Party Advisory
  • github.com https://github.com/vim/vim/commit/75661a66a1db1e1f3f1245c615
    Patch
  • github.com https://github.com/vim/vim/security/advisories/GHSA-8h6p-m6gr-mpw9
    PatchVendor Advisory