VULNERABILITY INTELLIGENCE

CVE-2026-34982

CVSS score8.2 HIGH
EPSS probability0.44%
CISA KEVNot currently listed
Published2026-04-06
Last modified2026-10-24
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

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.

Weakness classification

  • security-advisories@github.com: CWE-78
  • 0b0ca135-0b70-47e7-9f44-1890c2a1c46c: CWE-78

Primary references