CVE-2025-53905 in Vim
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no confidentiality impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Vim | Vim | < 9.1.1552 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-53905 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-037895-M |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L |
| Published | 2025-07-15 |
| Last modified | 2025-11-04 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
Related attack patterns (CAPEC)
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A path traversal vulnerability in Vim's tar.vim plugin prior to version 9.1.1552 allows for the overwriting of arbitrary files when opening specially crafted tar archives, requiring direct user interaction.
The vulnerability exists in the tar.vim plugin of Vim, which does not properly sanitize file paths when extracting files from tar archives. An attacker could craft a malicious tar archive that, when opened by a user, could overwrite existing files or place executable code in sensitive locations.
Questions
What is CVE-2025-53905?
A path traversal vulnerability in Vim's tar.vim plugin prior to version 9.1.1552 allows for the overwriting of arbitrary files when opening specially crafted tar archives, requiring direct user interaction.
What is the CVSS score for CVE-2025-53905?
CVE-2025-53905 has CVSS 4.1 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L. EPSS: 0.3%.
Is CVE-2025-53905 actively exploited?
No confirmed active exploitation of CVE-2025-53905 as of 2026-05-30.
How do I remediate CVE-2025-53905?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2025-53905?
CVE-2025-53905 affects Vim Vim.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Vim","product":"Vim","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-11-04.