CVE-2026-34714 Code injection in Vim

Critical 9.2 Published Updated

Attackers can execute arbitrary code by tricking users into opening a crafted file in Vim due to expression injection in tab panels.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-34714?

CVE-2026-34714 is a critical code injection vulnerability in Vim Vim, published on 30 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-917, CWE-78

Which versions are affected by CVE-2026-34714?

It affects 1 product.

Products include Vim Vim.

How do I fix CVE-2026-34714?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-34714 being exploited?

There is no known exploitation of CVE-2026-34714 in the wild and no public exploit code.

All Vim Vim vulnerabilities

Sources

Also known as ALPINE-CVE-2026-34714, AZL-81195, BELL-CVE-2026-34714, DEBIAN-CVE-2026-34714, ECHO-d746-10aa-d3e5, GHSA-2gmj-rpqf-pxvh and 2 more.

Is CVE-2026-34714 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free