Vim has path traversal issue with zip.vim and special crafted zip archives

Summary

CVECVE-2025-53906
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-07-15 21:15:34 UTC
Updated2026-04-01 19:16:24 UTC
DescriptionVim 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')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.1MEDIUMCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L
3.1CNADECLARED4.1MEDIUMCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
Low

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Application Vim Vim All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Vim Vim affected < 9.1.1551 Not specified

References

ReferenceSourceLinkTags
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
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report