8.2

CVE-2026-34982: vim OS Command Injection

CVSS: 8.2v3.1HighModified
AliasesALPINE-CVE-2026-34982RHSA-2026:11389RHSA-2026:11509
Published 06-04-2026Last modified 18-09-2026

Vulnerability summary

CVE-2026-34982 is a high (CVSS 8.2) OS Command Injection vulnerability in vim. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.1% of scored vulnerabilities.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · -0.20 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 21 · Related 11

Timeline

  1. 06-04-2026
    PublishedVulnerability first disclosed.
  2. 18-09-2026
    Last modifiedVulnerability information updated.

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 metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

18%

Versus all other CVEs

30-day change

-0.20 pp

From 0.47% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.27%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat15 products
  • vim< 2:9.1.083-6.el10_1.4 | < 2:8.0.1763-22.el8_10.3 | < 2:8.2.2637-23.el9_7.3 | < 2:9.1.083-9.el10_2.2 | < 2:8.2.2637-26.el9_8.4
  • vim-common< 2:9.1.083-6.el10_1.4 | < 2:8.0.1763-22.el8_10.3 | < 2:8.2.2637-23.el9_7.3
  • vim-common-debuginfo< 2:8.0.1763-22.el8_10.3 | < 2:8.2.2637-23.el9_7.3
  • vim-data< 2:9.1.083-6.el10_1.4
  • vim-debuginfo< 2:9.1.083-6.el10_1.4 | < 2:8.0.1763-22.el8_10.3 | < 2:8.2.2637-23.el9_7.3
Alpine1 product
  • vim< 9.2.0280-r0
Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.2.0315-1
Ubuntu1 product
  • vim< 2:8.1.2269-1ubuntu5.32+esm3 | < 2:8.2.3995-1ubuntu2.27 | < 2:9.1.0016-1ubuntu7.11 | < 2:9.1.0967-1ubuntu6.2
Vim1 product

5 vendors · 19 products

References

50 links
Show all 50 references