Skip to content
OpenAdvisories
Medium · 4.1 CVE-2025-53906 EUVD-2025-21553

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

Published Jul 15, 2025 · Updated Apr 1, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
vim vim < 9.1.1551 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vim 2:9.1.1829-1 —
Debian 13 vim 2:9.1.1230-2+deb13u1 —
Debian 12 vim No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS vim 2:9.1.0016-1ubuntu7.9 USN-7748-1
Ubuntu 22.04 LTS vim No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS vim No fix yet —
Ubuntu Pro 18.04 LTS vim No fix yet —
Ubuntu Pro 16.04 LTS vim No fix yet —
Ubuntu Pro 14.04 LTS vim No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 vim +7 2:9.1.083-5.el10_0.1 RHSA-2025:21015, RHSA-2025:17913
RHEL 9 vim +5 2:8.2.2637-22.el9_6.1 RHSA-2025:20945, RHSA-2025:17742
RHEL 8 vim +5 2:8.0.1763-21.el8_10 RHSA-2025:17715
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS vim +5 2:8.2.2637-20.el9_4.1 RHSA-2025:17644

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 vim-data +1 2:9.1.083-5.el10_0.1 ALSA-2025:21015, ALSA-2025:17913
AlmaLinux 10 xxd +4 2:9.1.083-6.el10_1 ALSA-2025:21015
AlmaLinux 9 vim-X11 +4 2:8.2.2637-22.el9_6.1 ALSA-2025:20945, ALSA-2025:17742
AlmaLinux 8 vim-X11 +4 2:8.0.1763-21.el8_10 ALSA-2025:17715

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 vim 2:9.1.083-5.el10_0.1 RLSA-2025:21015, RLSA-2025:17913
Rocky Linux 9 vim 2:8.2.2637-22.el9_6.1 RLSA-2025:20945, RLSA-2025:17742
Rocky Linux 8 vim 2:8.0.1763-21.el8_10 RLSA-2025:17715
ReleasePackageFixed inAdvisory
SLES 15 SP7 vim 9.1.1629-150500.20.33.1 SUSE-SU-2026:0910-1, SUSE-SU-2025:03300-1
SLES 15 SP6 vim 9.1.1629-150500.20.33.1 SUSE-SU-2026:0910-1, SUSE-SU-2025:03300-1
SLES 15 SP5 vim 9.2.0110-150500.20.43.1 SUSE-SU-2026:0910-1
SLES 15 SP4 vim 9.2.0110-150000.5.86.1 SUSE-SU-2026:1095-1
SLES 12 SP5 vim 9.1.1629-17.51.1 SUSE-SU-2026:1051-1, SUSE-SU-2025:03299-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 vim 9.2.0110-160000.1.1 SUSE-SU-2026:20916-1
SLES for SAP 15 SP6 vim 9.2.0110-150500.20.43.1 SUSE-SU-2026:0910-1
SLES for SAP 15 SP5 vim 9.2.0110-150500.20.43.1 SUSE-SU-2026:0910-1
SLES for SAP 15 SP4 vim 9.2.0110-150000.5.86.1 SUSE-SU-2026:1095-1
SLES 16.0 vim 9.2.0110-160000.1.1 SUSE-SU-2026:20916-1
SLE Micro 6.2 vim 9.2.0110-160000.1.1 SUSE-SU-2026:20765-1, SUSE-SU-2026:20759-1
SLE Micro 6.1 vim 9.1.1629-slfo.1.1_1.1 SUSE-SU-2026:20738-1, SUSE-SU-2025:20857-1
SLE Micro 6.0 vim 9.1.1629-1.1 SUSE-SU-2026:20717-1, SUSE-SU-2025:20696-1
SLE Micro 5.5 vim 9.1.1629-150500.20.33.1 SUSE-SU-2026:0910-1, SUSE-SU-2025:03300-1
SLE Micro 5.4 vim 9.1.1629-150000.5.78.1 SUSE-SU-2026:1095-1, SUSE-SU-2025:03240-1
SLE Micro 5.3 vim 9.1.1629-150000.5.78.1 SUSE-SU-2026:1095-1, SUSE-SU-2025:03240-1
SLE Micro 5.2 vim 9.1.1629-150000.5.78.1 SUSE-SU-2026:1095-1, SUSE-SU-2025:03240-1
SLE Micro 5.1 vim 9.1.1629-150000.5.78.1 SUSE-SU-2025:03240-1
SLE HPC 15 SP5 vim 9.2.0110-150500.20.43.1 SUSE-SU-2026:0910-1
SLE HPC 15 SP4 vim 9.2.0110-150000.5.86.1 SUSE-SU-2026:1095-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 vim 9.2.0110-160000.1.1 openSUSE-SU-2026:20403-1
openSUSE Leap 15.6 vim 9.1.1629-150500.20.33.1 SUSE-SU-2026:0910-1, SUSE-SU-2025:03300-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 xxd +6 2:9.1.1591-1.amzn2023.0.1 ALAS2023-2025-1138

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 vim 9.1.1552-1 —
Azure Linux 2 (CBL-Mariner) vim 9.1.1552-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 xxd +6 2:9.1.083-5.0.1.el10_0.1 ELSA-2025-21015, ELSA-2025-17913
Oracle Linux 9 vim-X11 +4 2:8.2.2637-22.0.1.el9_6.1 ELSA-2025-20945, ELSA-2025-17742
Oracle Linux 8 vim-X11 +4 2:8.0.1763-21.0.1.el8_10 ELSA-2025-17715

Advisories 42

References