CVE-2025-53906Vim has path traversal issue with zip.vim and special crafted zip archives
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | vim | Fixed | 2:9.1.0016-1ubuntu7.9 | UBUNTU-CVE-2025-53906 |
| Ubuntu 22.04 | vim | Will not fix On jammy and below, the updates are risky and may introduce regressions. | UBUNTU-CVE-2025-53906 | |
| Ubuntu 20.04 | vim | Fix pending | UBUNTU-CVE-2025-53906 | |
| Ubuntu 18.04 | vim | Fix pending | UBUNTU-CVE-2025-53906 | |
| Ubuntu 16.04 | vim | Fix pending | UBUNTU-CVE-2025-53906 | |
| Ubuntu 14.04 | vim | Fix pending | UBUNTU-CVE-2025-53906 | |
| Debian 14 | vim | Fixed | 2:9.1.1829-1 | DEBIAN-CVE-2025-53906 |
| Debian 13 | vim | Fixed | 2:9.1.1230-2+deb13u1 | DEBIAN-CVE-2025-53906 |
| Debian 12 | vim | Fix pending | DEBIAN-CVE-2025-53906 | |
| Red Hat Enterprise Linux 10 | vim | Fixed | 2:9.1.083-6.el10_1 | RHSA-2025:17913 |
| Red Hat Enterprise Linux 10 | vim-X11 | Fixed | 2:9.1.083-6.el10_1 | RHSA-2025:17913 |
| Red Hat Enterprise Linux 10 | vim-common | Fixed | 2:9.1.083-6.el10_1 | RHSA-2025:17913 |
| Red Hat Enterprise Linux 10 | vim-data | Fixed | 2:9.1.083-5.el10_0.1 | RHSA-2025:21015 |
| Red Hat Enterprise Linux 10 | vim-enhanced | Fixed | 2:9.1.083-5.el10_0.1 | RHSA-2025:21015 |
| Red Hat Enterprise Linux 10 | vim-filesystem | Fixed | 2:9.1.083-6.el10_1 | RHSA-2025:17913 |
| Red Hat Enterprise Linux 10 | vim-minimal | Fixed | 2:9.1.083-6.el10_1 | RHSA-2025:17913 |
| Red Hat Enterprise Linux 10 | xxd | Fixed | 2:9.1.083-6.el10_1 | RHSA-2025:17913 |
| Red Hat Enterprise Linux 9 | vim | Fixed | 2:8.2.2637-22.el9_6.1 | RHSA-2025:20945 |
| Red Hat Enterprise Linux 9 | vim-X11 | Fixed | 2:8.2.2637-22.el9_6.1 | RHSA-2025:20945 |
| Red Hat Enterprise Linux 9 | vim-common | Fixed | 2:8.2.2637-22.el9_6.1 | RHSA-2025:20945 |
| Red Hat Enterprise Linux 9 | vim-enhanced | Fixed | 2:8.2.2637-23.el9_7 | RHSA-2025:17742 |
| Red Hat Enterprise Linux 9 | vim-filesystem | Fixed | 2:8.2.2637-23.el9_7 | RHSA-2025:17742 |
| Red Hat Enterprise Linux 9 | vim-minimal | Fixed | 2:8.2.2637-22.el9_6.1 | RHSA-2025:20945 |
| Red Hat Enterprise Linux 8 | vim | Fixed | 2:8.0.1763-21.el8_10 | RHSA-2025:17715 |
| Red Hat Enterprise Linux 8 | vim-X11 | Fixed | 2:8.0.1763-21.el8_10 | RHSA-2025:17715 |
| Red Hat Enterprise Linux 8 | vim-common | Fixed | 2:8.0.1763-21.el8_10 | RHSA-2025:17715 |
| Red Hat Enterprise Linux 8 | vim-enhanced | Fixed | 2:8.0.1763-21.el8_10 | RHSA-2025:17715 |
| Red Hat Enterprise Linux 8 | vim-filesystem | Fixed | 2:8.0.1763-21.el8_10 | RHSA-2025:17715 |
| Red Hat Enterprise Linux 8 | vim-minimal | Fixed | 2:8.0.1763-21.el8_10 | RHSA-2025:17715 |
| Red Hat Enterprise Linux 7 | vim | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | vim-X11 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | vim-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | vim-enhanced | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | vim-filesystem | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | vim-minimal | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | vim | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | vim-X11 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | vim-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | vim-enhanced | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | vim-filesystem | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | vim-minimal | Will not fix Out of support scope | ||
| AlmaLinux 10 | vim-X11 | Fixed | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux 10 | vim-common | Fixed | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux 10 | vim-data | Fixed | 2:9.1.083-5.el10_0.1 | ALSA-2025:21015 |
| AlmaLinux 10 | vim-enhanced | Fixed | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux 10 | vim-filesystem | Fixed | 2:9.1.083-6.el10_1 | ALSA-2025:17913 |
| AlmaLinux 10 | vim-minimal | Fixed | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux 10 | xxd | Fixed | 2:9.1.083-6.el10_1 | ALSA-2025:21015 |
| AlmaLinux 9 | vim-X11 | Fixed | 2:8.2.2637-23.el9_7 | ALSA-2025:17742 |
| AlmaLinux 9 | vim-common | Fixed | 2:8.2.2637-23.el9_7 | ALSA-2025:17742 |
| AlmaLinux 9 | vim-enhanced | Fixed | 2:8.2.2637-22.el9_6.1 | ALSA-2025:20945 |
| AlmaLinux 9 | vim-filesystem | Fixed | 2:8.2.2637-23.el9_7 | ALSA-2025:17742 |
| AlmaLinux 9 | vim-minimal | Fixed | 2:8.2.2637-22.el9_6.1 | ALSA-2025:20945 |
| AlmaLinux 8 | vim-X11 | Fixed | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| AlmaLinux 8 | vim-common | Fixed | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| AlmaLinux 8 | vim-enhanced | Fixed | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| AlmaLinux 8 | vim-filesystem | Fixed | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| AlmaLinux 8 | vim-minimal | Fixed | 2:8.0.1763-21.el8_10 | ALSA-2025:17715 |
| Rocky Linux 10 | vim | Fixed | 2:9.1.083-5.el10_0.1 | RLSA-2025:21015 |
| Rocky Linux 9 | vim | Fixed | 2:8.2.2637-23.el9_7 | RLSA-2025:17742 |
| Rocky Linux 8 | vim | Fixed | 2:8.0.1763-21.el8_10 | RLSA-2025:17715 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- vim: affected: < 9.1.1551
References
- https://github.com/vim/vim/security/advisories/GHSA-r2fw-9cw4-mj86
- https://github.com/vim/vim/commit/586294a04179d855c3d1d4ee5ea83931963680b8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.