Arbitrary Code Execution Vulnerability in Vim Packages

vim-X11 Updated 27 Mar 2026

Summary

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

ALSA-2026:5602: Moderate: vim security update. Affects vim-X11 versions < 2:8.2.2637-23.el9_7.1. Fixed in 2:8.2.2637-23.el9_7.1. 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 configurable text editor built to enable efficient text editing. It is an enhanced version of the original vi editor and is widely used for programming and general text manipulation. The affected packages include vim-X11, vim-common, vim-enhanced, vim-filesystem, and vim-minimal, all of which are part of the AlmaLinux 9 ecosystem. These packages provide various functionalities, including graphical interface support, common files, enhanced features, and minimal installations of Vim.

Vulnerability Detail

The vulnerability identified as CVE-2026-25749 allows for arbitrary code execution through improper processing of the 'helpfile' option in Vim. This issue arises from the way Vim handles certain user inputs, which can be exploited by an attacker to execute malicious code on the affected system. The ramifications of this vulnerability can be severe, potentially leading to unauthorized access and control over the system, data breaches, or further exploitation of networked systems.

How To Fix

Minimum fixed version

2:8.2.2637-23.el9_7.1

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 until they are able to update to the patched version. This can be done by adding the following line to the Vim configuration file: 'set nohelpfile'. However, this is not a permanent solution and updating the package is strongly recommended.

Conclusion

The Vim security update addresses a critical vulnerability that could allow arbitrary code execution through the 'helpfile' option. Users are strongly advised to update their Vim packages to the latest version to mitigate the risks associated with this vulnerability. Temporary workarounds are available, but updating is the best course of action.

See every vulnerability recorded for vim-X11 →

Share this vulnerability

FAQ

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

If you are using Vim versions prior to 2:8.2.2637-23.el9_7.1, your installation is vulnerable. You can check your version by running 'vim --version' in the terminal.

The risks include unauthorized code execution, potential data breaches, and the ability for attackers to gain control over the affected system.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json. You can check your application for vulnerabilities without needing to install anything.

More details can be found on the CVE page for CVE-2026-25749, which includes information about the impact, CVSS score, and acknowledgments.

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.2.2637-23.el9_7.1

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