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

vim-X11 Updated 17 Apr 2026

Summary

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

ALSA-2026:7711: Important: vim security update. Affects vim-X11 versions < 2:9.1.083-6.el10_1.3. Fixed in 2:9.1.083-6.el10_1.3. 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 Penetration testing for web, API and mobile 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 widely used text editor that enhances the capabilities of the original vi editor. It is known for its efficiency and extensibility, making it a favorite among developers and system administrators. However, recent vulnerabilities have been identified in various Vim packages, including vim-X11, vim-common, vim-data, vim-enhanced, vim-filesystem, vim-minimal, and xxd, which could lead to severe security risks such as arbitrary code execution and denial of service.

Vulnerability Detail

The vulnerabilities stem from multiple issues within the Vim editor, particularly in the netrw plugin and the glob() function. The first vulnerability allows for arbitrary code execution via OS command injection, which can be exploited by an attacker to execute malicious commands on the host system. The second vulnerability leads to denial of service and information disclosure through crafted swap files, potentially exposing sensitive data. Lastly, the command injection vulnerability in the glob() function also permits arbitrary code execution, compounding the risks associated with these flaws.

How To Fix

Minimum fixed version

2:9.1.083-6.el10_1.3

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 measure, 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 your .vimrc configuration file: 'let g:loaded_netrwPlugin = 1'.

Conclusion

The identified vulnerabilities in Vim pose significant security risks, including arbitrary code execution and denial of service. It is crucial for users to update their Vim packages to the latest patched version to safeguard their systems. Additionally, utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for vim-X11 →

Share this vulnerability

FAQ

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

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file, you can quickly determine if your application is affected.

If immediate updates are not possible, consider disabling the netrw plugin as a temporary workaround to reduce the risk of exploitation.

While specific exploits may not be publicly disclosed, the nature of the vulnerabilities allows for potential exploitation by attackers familiar with Vim's architecture.

For detailed information, refer to the CVE pages associated with the vulnerabilities: CVE-2026-28417, CVE-2026-28421, and CVE-2026-33412.

Related vulnerabilities

Recent vulnerabilities recorded for vim-X11.

How To Fix

Minimum fixed version

2:9.1.083-6.el10_1.3

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