Critical Security Flaw in Vim Packages: Arbitrary Code Execution and Denial of Service

vim-X11 Updated 17 Apr 2026

Summary

15/04/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:8259: Important: vim security update. Affects vim-X11 versions < 2:8.2.2637-23.el9_7.2. Fixed in 2:8.2.2637-23.el9_7.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Vim (Vi IMproved) is a highly popular text editor that enhances the capabilities of the traditional vi editor. It is widely used for programming and text editing due to its powerful features, including syntax highlighting, multi-level undo, and extensive plugin support. However, recent vulnerabilities have been identified in various Vim packages, including vim-X11, vim-common, vim-enhanced, vim-filesystem, and vim-minimal, which could potentially compromise system security.

Vulnerability Detail

The vulnerabilities in Vim stem from flaws in its netrw plugin and the glob() function, which allow for arbitrary code execution through OS command injection. Additionally, crafted swap files can lead to denial of service and information disclosure. These vulnerabilities can be exploited by attackers to execute malicious commands, disrupt service, or access sensitive information, posing significant risks to users and systems relying on Vim.

How To Fix

Minimum fixed version

2:8.2.2637-23.el9_7.2

This is the first release that contains the fix.

sudo dnf update vim-X11

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable the netrw plugin in Vim to mitigate the risk of exploitation until the packages are updated. This can be done by adding the following line to the .vimrc configuration file: 'let g:loaded_netrwPlugin = 1'.

Conclusion

The identified vulnerabilities in Vim pose serious security risks that can lead to arbitrary code execution and denial of service. It is crucial for users to update their Vim packages to the latest patched versions to safeguard their systems. Temporary workarounds can be employed until updates are applied, but the best course of action is to ensure all software is up to date.

See every vulnerability recorded for vim-X11 →

Share this vulnerability

FAQ

The main vulnerabilities include arbitrary code execution via OS command injection in the netrw plugin, denial of service through crafted swap files, and command injection in the glob() function.

You can check if your Vim installation is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor and alert for open-source vulnerabilities without requiring installation.

If you cannot update Vim immediately, consider disabling the netrw plugin as a temporary workaround to reduce the risk of exploitation.

Failing to address these vulnerabilities can lead to arbitrary code execution, denial of service, and potential data breaches, compromising the security of your system.

More information about the vulnerabilities can be found on the CVE pages listed in the references of the security advisory.

Related vulnerabilities

Recent vulnerabilities recorded for vim-X11.

How To Fix

Minimum fixed version

2:8.2.2637-23.el9_7.2

This is the first release that contains the fix.

sudo dnf update vim-X11

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback