CVE-2025-53905 Details
Description
Vim is an open source, command line text editor. Prior to version 9.1.1552, a path traversal issue in Vim’s tar.vim plugin can allow overwriting of arbitrary files when opening specially crafted tar archives. Impact is low because this exploit requires direct user interaction. However, successfully exploitation can lead to overwriting sensitive files or placing executable code in privileged locations, depending on the permissions of the process editing the archive. The victim must edit such a file using Vim which will reveal the filename and the file content, a careful user may suspect some strange things going on. Successful exploitation could results in the ability to execute arbitrary commands on the underlying operating system. Version 9.1.1552 contains a patch for the vulnerability.
A path traversal vulnerability has been identified in Vim versions prior to 9.1.1552, specifically within the tar.vim plugin. This issue allows for the overwriting of arbitrary files when specially crafted tar archives are opened. The vulnerability requires direct user interaction, as the user must manually edit and save a file from the archive using Vim. Exploitation could lead to overwriting sensitive files or placing executable code in privileged locations, depending on the permissions of the process handling the archive. Notably, successful exploitation could allow for the execution of arbitrary commands on the underlying operating system.
Users can update to Vim version 9.1.1552 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/vim/vim/security/advisories/GHSA-74v4-f3x9-ppvr | CISA-ADP | ExploitVendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/07/15/1 | CVE | |
| https://github.com/vim/vim/commit/87757c6b0a4b2c1f71c72ea8e1438b8fb116b239 | [email protected] | Patch |
| https://github.com/vim/vim/security/advisories/GHSA-74v4-f3x9-ppvr | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vim vim | < 9.1.1552 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 4, 2025 | CVE Modified | CVE |
| Aug 14, 2025 | Initial Analysis | [email protected] |
| Jul 18, 2025 | CVE Modified | CISA-ADP |
| Jul 15, 2025 | New CVE Received | [email protected] |