Critical Security Flaw in Vim Packages: Arbitrary Code Execution Vulnerability

vim-X11 Updated 16 Mar 2026

Summary

12/03/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:4442: Moderate: vim security update. Affects vim-X11 versions < 2:8.0.1763-22.el8_10. Fixed in 2:8.0.1763-22.el8_10. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Vim (Vi IMproved) is a highly popular text editor known for its efficiency and extensibility. It is widely used by developers and system administrators for editing configuration files, programming, and general text manipulation. The affected packages include vim-X11, vim-common, vim-enhanced, vim-filesystem, and vim-minimal, all part of the AlmaLinux 8 ecosystem. These packages provide various functionalities of the Vim editor, enhancing user experience and productivity. However, a recent vulnerability has been identified that could allow malicious actors to execute arbitrary code through improper handling of the 'helpfile' option.

Vulnerability Detail

The vulnerability, identified as CVE-2026-25749, arises from the way Vim processes the 'helpfile' option. An attacker could exploit this flaw to execute arbitrary code on the affected system, potentially leading to unauthorized access, data breaches, or system compromise. This vulnerability is particularly concerning as it can be triggered by simply opening a crafted help file, making it a significant risk for users who rely on Vim for their daily tasks.

How To Fix

Minimum fixed version

2:8.0.1763-22.el8_10

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 'helpfile' option in Vim by adding the following line to their Vim configuration file (usually located at ~/.vimrc): 'set nohelpfile'. This will prevent the execution of potentially harmful help files until the package is updated.

Conclusion

The identified vulnerability in Vim packages poses a significant risk to users, allowing for arbitrary code execution through the 'helpfile' option. It is crucial for users to update their packages to the patched version to mitigate this risk. Additionally, temporary workarounds are available for those unable to update immediately. Regular monitoring for vulnerabilities using tools like Vulert can further enhance security.

See every vulnerability recorded for vim-X11 →

Share this vulnerability

FAQ

CVE-2026-25749 is a security vulnerability in Vim that allows arbitrary code execution through improper handling of the 'helpfile' option.

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 your Vim packages immediately, consider disabling the 'helpfile' option as a temporary workaround by adding 'set nohelpfile' to your Vim configuration file.

The potential consequences include unauthorized access to the system, data breaches, and the ability for attackers to execute arbitrary code, which could compromise system integrity.

Yes, Vulert provides a solution that uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in your software.

Related vulnerabilities

Recent vulnerabilities recorded for vim-X11.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2:8.0.1763-22.el8_10

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