Moderate Security Vulnerability in Vim Packages: Path Traversal Issues

vim-X11 Updated 21 Nov 2025

Summary

11/11/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:20945: Moderate: vim security update. Affects vim-X11 versions < 2:8.2.2637-23.el9_7. Fixed in 2:8.2.2637-23.el9_7. 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 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 integral to the functionality of Vim on AlmaLinux 9. These packages provide various features and enhancements to the core Vim editor, making it a powerful tool for developers and system administrators.

Vulnerability Detail

The vulnerability stems from a path traversal issue in Vim, identified as CVE-2025-53905 and CVE-2025-53906. This flaw allows an attacker to manipulate file paths, potentially leading to unauthorized access to files outside the intended directory. The ramifications of this vulnerability can be severe, as it may allow attackers to read sensitive files or execute malicious scripts, compromising the integrity and confidentiality of the system.

How To Fix

Minimum fixed version

2:8.2.2637-23.el9_7

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 restrict access to the Vim editor or limit its use until the packages are updated. Additionally, ensure that file permissions are correctly set to prevent unauthorized access.

Conclusion

In summary, the identified vulnerabilities in Vim packages pose a moderate security risk due to path traversal issues. It is crucial for users to update their packages to the fixed version to mitigate these risks and ensure the security of their systems.

See every vulnerability recorded for vim-X11 →

Share this vulnerability

FAQ

A path traversal vulnerability allows an attacker to access files and directories that are stored outside the intended directory, potentially leading to unauthorized data exposure.

You can check if your Vim installation is affected by using the Vulert playground at Vulert Scanner, which allows you to analyze your manifest file for vulnerabilities.

The potential impacts include unauthorized access to sensitive files, data breaches, and the execution of malicious scripts, which can compromise system security.

Yes, you can restrict access to the Vim editor and ensure proper file permissions are set to limit exposure until the patch is applied.

For more details, refer to the CVE pages listed in the vulnerability report, which provide in-depth information about the security issues.

Related vulnerabilities

Recent vulnerabilities recorded for vim-X11.

How To Fix

Minimum fixed version

2:8.2.2637-23.el9_7

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