8.2

CVE-2026-34982: Vim modeline bypass via various options affects Vim < 9.2.0276

Modified
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) vulnerability in vim. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.2, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
0.49%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 23 · 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.49%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.46% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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.1.1230-2+deb13u1 | < 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