Moderate Vulnerability in Vim: Path Traversal Issues
Summary
RLSA-2025:21015: Moderate: vim security update. Affects vim versions < 2:9.1.083-6.el10_1.1. Fixed in 2:9.1.083-6.el10_1.1. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
Vim (Vi IMproved) is a widely used text editor that enhances the functionality of the original vi editor. It is known for its efficiency and versatility, making it a popular choice among developers and system administrators. However, recent vulnerabilities have been identified that could potentially allow attackers to exploit the editor's functionality, leading to unauthorized access to files and directories.
Vulnerability Detail
The vulnerabilities identified in Vim are related to path traversal issues, specifically CVE-2025-53905 and CVE-2025-53906. These vulnerabilities allow an attacker to manipulate file paths, potentially leading to unauthorized access to sensitive files outside of the intended directory. The ramifications of these vulnerabilities can be severe, as they may expose critical system files or user data, compromising the integrity and confidentiality of the system.
How To Fix
Minimum fixed version
2:9.1.083-6.el10_1.1
This is the first release that contains the fix.
sudo dnf update vim
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users are advised to avoid opening files from untrusted sources or to limit the use of Vim in environments where sensitive data is handled until the update is applied.
Conclusion
The identified vulnerabilities in Vim pose a moderate risk due to path traversal issues that could lead to unauthorized file access. It is crucial for users to update their Vim installations to the latest patched version to mitigate these risks. Additionally, utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for vim →
FAQ
The vulnerabilities are related to path traversal issues, allowing unauthorized access to files outside the intended directory.
You can check your version of Vim by running 'vim --version' in your terminal. If it is below 2:9.1.083-6.el10_1.1, it is affected.
The CVSS score for these vulnerabilities is 4.1, indicating a moderate severity level.
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.
For more details, refer to the CVE pages for CVE-2025-53905 and CVE-2025-53906.
Related vulnerabilities
Recent vulnerabilities recorded for vim.