Vim has path traversal issue with zip.vim and special crafted zip archives
Summary
| CVE | CVE-2025-53906 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-07-15 21:15:34 UTC |
| Updated | 2026-04-01 19:16:24 UTC |
| Description | Vim is an open source, command line text editor. Prior to version 9.1.1551, a path traversal issue in Vim’s zip.vim plugin can allow overwriting of arbitrary files when opening specially crafted zip 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.1551 contains a patch for the vulnerability. |
Risk And Classification
Primary CVSS: v3.1 4.1 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L
Problem Types: CWE-22 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.1 | MEDIUM | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L |
| 3.1 | CNA | DECLARED | 4.1 | MEDIUM | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
NoneIntegrity
LowAvailability
LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/vim/vim/commit/586294a04179d855c3d1d4ee5ea83931963680b8 | [email protected] | github.com | Patch |
| github.com/vim/vim/security/advisories/GHSA-r2fw-9cw4-mj86 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | Exploit, Vendor Advisory |
| www.openwall.com/lists/oss-security/2026/04/01/4 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| www.openwall.com/lists/oss-security/2025/07/15/2 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.