Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-34982: Vim is an open source, command line text editor

33
Routine
HIGH 8.2UPGRADE

CVE-2026-34982 is a high-severity flaw (CVSS 8.2) affecting vim. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 t

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score8.2 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.3% (top 82%)
CISA exploited listNo
WeaknessCWE-78
Published2026-04-06
Last modified2026-10-24
Publisher (CNA): GitHub, Inc. · Vendor: vim

Share: LinkedIn · X · Reddit

Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

vim vim UPGRADE
Affected: < 9.2.0276
Fixed in: 9.2.0276
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy vim || rpm -q vim || vim --version
2. UPGRADE to 9.2.0276 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade vim
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade vim
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Fedora 46 · sugar-calculator · FIXED · 47-14.fc46 · FEDORA-2026-38eeb9e279 · source
sudo dnf upgrade --advisory=FEDORA-2026-38eeb9e279
Fedora ELN · selinux-policy · FIXED · 45.23-1.eln159 · FEDORA-2026-3668c969a2 · source
sudo dnf upgrade --advisory=FEDORA-2026-3668c969a2
Debian 12 · vim · NO FIX YET
Debian 13 · vim · NO FIX YET
RHEL 10 · vim · FIXED · vim-9.1.083-6.el10_1.4
sudo dnf upgrade --advisory=RHSA-2026:11389 rpm -q vim
RHEL 10.0 Extended Update Support · vim · FIXED · vim-9.1.083-5.el10_0.3
sudo dnf upgrade --advisory=RHSA-2026:30900 rpm -q vim
RHEL 6 Extended Lifecycle Support - EXTENSION · vim · FIXED · vim-7.4.629-5.el6_10.4
sudo dnf upgrade --advisory=RHSA-2026:69128 rpm -q vim
RHEL 7 Extended Lifecycle Support · vim · FIXED · vim-7.4.629-8.el7_9.2
sudo dnf upgrade --advisory=RHSA-2026:68711 rpm -q vim
RHEL 8 · vim · FIXED · vim-8.0.1763-22.el8_10.3
sudo dnf upgrade --advisory=RHSA-2026:11509 rpm -q vim
Alpine 3.23 · vim · FIXED · vim-9.2.0280-r0
apk add --upgrade vim apk info -v vim
Alpine 3.24 · vim · FIXED · vim-9.2.0280-r0
apk add --upgrade vim apk info -v vim
Amazon Linux 2023 · see advisory · FIXED · ALAS2023-2026-1584 · source
sudo dnf update --advisory=ALAS2023-2026-1584
Amazon Linux 2 · see advisory · FIXED · ALAS2-2026-3251 · source
sudo yum update --advisory=ALAS2-2026-3251

Advisories and coverage

Official advisories

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-34982?

vim: upgrade to 9.2.0276. Exact commands for each OS are on this page.

Is CVE-2026-34982 being exploited?

CVE-2026-34982 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-34982 affect?

CVE-2026-34982 affects vim. Severity is high (CVSS 8.2). 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 a

How urgent is CVE-2026-34982?

Priority 33/100. High severity

Software pages

Vim vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.