Vulnerability · Published Jul 15, 2025 · Assigned by GitHub_M
CVE-2025-53906Vim has path traversal issue with zip.vim and special crafted zip archives
Medium 4.1
In plain English
A medium-severity path traversal in vim from vim. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | vim-X11 | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux:8 | vim-X11 | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| AlmaLinux:9 | vim-X11 | 2:8.2.2637-23.el9_7 | ALSA-2025:20945 |
| AlmaLinux:9 | vim-X11 | 2:8.2.2637-22.el9_6.1 | ALSA-2025:17742 |
| AlmaLinux:10 | vim-common | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux:8 | vim-common | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| AlmaLinux:9 | vim-common | 2:8.2.2637-22.el9_6.1 | ALSA-2025:17742 |
| AlmaLinux:9 | vim-common | 2:8.2.2637-23.el9_7 | ALSA-2025:20945 |
| AlmaLinux:10 | vim-data | 2:9.1.083-5.el10_0.1 | ALSA-2025:17913 |
| AlmaLinux:10 | vim-data | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux:10 | vim-enhanced | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux:8 | vim-enhanced | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| AlmaLinux:9 | vim-enhanced | 2:8.2.2637-22.el9_6.1 | ALSA-2025:17742 |
| AlmaLinux:9 | vim-enhanced | 2:8.2.2637-23.el9_7 | ALSA-2025:20945 |
| AlmaLinux:10 | vim-filesystem | 2:9.1.083-5.el10_0.1 | ALSA-2025:17913 |
| AlmaLinux:10 | vim-filesystem | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux:8 | vim-filesystem | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| AlmaLinux:9 | vim-filesystem | 2:8.2.2637-22.el9_6.1 | ALSA-2025:17742 |
| AlmaLinux:9 | vim-filesystem | 2:8.2.2637-23.el9_7 | ALSA-2025:20945 |
| AlmaLinux:10 | vim-minimal | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux:8 | vim-minimal | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| AlmaLinux:9 | vim-minimal | 2:8.2.2637-23.el9_7 | ALSA-2025:20945 |
| AlmaLinux:9 | vim-minimal | 2:8.2.2637-22.el9_6.1 | ALSA-2025:17742 |
| AlmaLinux:10 | xxd | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| Debian:12 | vim | no fix listed | DEBIAN-CVE-2025-53906 |
| Debian:13 | vim | 2:9.1.1230-2+deb13u1 | DEBIAN-CVE-2025-53906 |
| Debian:14 | vim | 2:9.1.1829-1 | DEBIAN-CVE-2025-53906 |
| Rocky Linux:10 | vim | 2:9.1.083-6.el10_1.1 | RLSA-2025:21015 |
| Rocky Linux:10 | vim | 2:9.1.083-5.el10_0.1 | RLSA-2025:17913 |
| Rocky Linux:8 | vim | 2:8.0.1763-21.el8_10 | RLSA-2025:17715 |
| Rocky Linux:9 | vim | 2:8.2.2637-22.el9_6.1 | RLSA-2025:17742 |
| Rocky Linux:9 | vim | 2:8.2.2637-23.el9_7 | RLSA-2025:20945 |
| Ubuntu:22.04:LTS | vim | no fix listed | UBUNTU-CVE-2025-53906 |
| Ubuntu:24.04:LTS | vim | 2:9.1.0016-1ubuntu7.9 | UBUNTU-CVE-2025-53906 |
| Ubuntu:24.04:LTS | vim | 2:9.1.0016-1ubuntu7.9 | USN-7748-1 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L