---
id: CVE-2026-34714
title: >-
  Vim before 9.2.0272 allows code execution that happens immediately upon
  opening a crafted file in the default configuration, because %{expr} injection
  occurs with tabpanel lacking P_MLE.
summary: >-
  Vim before 9.2.0272 allows code execution that happens immediately upon
  opening a crafted file in the default configuration, because %{expr} injection
  occurs with tabpanel lacking P_MLE.
severity: critical
cvss: 9.2
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L'
cwe:
  - CWE-78
published: '2026-03-30'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-34714'
references:
  - url: 'https://github.com/vim/vim/commit/664701eb7576edb7c7c7d9f2d600815ec1f43459'
    label: cve@mitre.org
  - url: 'https://github.com/vim/vim/releases/tag/v9.2.0272'
    label: cve@mitre.org
  - url: 'https://github.com/vim/vim/security/advisories/GHSA-2gmj-rpqf-pxvh'
    label: cve@mitre.org
  - url: 'https://www.openwall.com/lists/oss-security/2026/03/30/3'
    label: cve@mitre.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/04/02/4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2026/04/02/5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2026/04/03/6'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0029
epssPercentile: 0.19132
ingestedAt: '2026-06-29T13:24:34.818Z'
---

## Overview

Vim before 9.2.0272 allows code execution that happens immediately upon opening a crafted file in the default configuration, because %{expr} injection occurs with tabpanel lacking P_MLE.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
