CVEfocus › CVE database › CVE-2025-53905

CVE-2025-53905Vim has path traversial issue with tar.vim and special crafted tar files

CVSS 4.1 MediumEPSS 0.3% (higher than 12% of CVEs)Published 2025-07-15Updated 2025-11-04Assigner: GitHub_M

Vim is an open source, command line text editor. Prior to version 9.1.1552, a path traversal issue in Vim’s tar.vim plugin can allow overwriting of arbitrary files when opening specially crafted tar 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.1552 contains a patch for the vulnerability.

CWE-22

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

43Fixed
5Fix pending
13Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04vimFixed2:9.1.0016-1ubuntu7.9UBUNTU-CVE-2025-53905
Ubuntu 22.04vimWill not fix
On jammy and below, the updates are risky and may introduce regressions.
UBUNTU-CVE-2025-53905
Ubuntu 20.04vimFix pendingUBUNTU-CVE-2025-53905
Ubuntu 18.04vimFix pendingUBUNTU-CVE-2025-53905
Ubuntu 16.04vimFix pendingUBUNTU-CVE-2025-53905
Ubuntu 14.04vimFix pendingUBUNTU-CVE-2025-53905
Debian 14vimFixed2:9.1.1829-1DEBIAN-CVE-2025-53905
Debian 13vimFixed2:9.1.1230-2+deb13u1DEBIAN-CVE-2025-53905
Debian 12vimFix pendingDEBIAN-CVE-2025-53905
Red Hat Enterprise Linux 10vimFixed2:9.1.083-6.el10_1RHSA-2025:17913
Red Hat Enterprise Linux 10vim-X11Fixed2:9.1.083-6.el10_1RHSA-2025:17913
Red Hat Enterprise Linux 10vim-commonFixed2:9.1.083-6.el10_1RHSA-2025:17913
Red Hat Enterprise Linux 10vim-dataFixed2:9.1.083-5.el10_0.1RHSA-2025:21015
Red Hat Enterprise Linux 10vim-enhancedFixed2:9.1.083-5.el10_0.1RHSA-2025:21015
Red Hat Enterprise Linux 10vim-filesystemFixed2:9.1.083-6.el10_1RHSA-2025:17913
Red Hat Enterprise Linux 10vim-minimalFixed2:9.1.083-6.el10_1RHSA-2025:17913
Red Hat Enterprise Linux 10xxdFixed2:9.1.083-6.el10_1RHSA-2025:17913
Red Hat Enterprise Linux 9vimFixed2:8.2.2637-22.el9_6.1RHSA-2025:20945
Red Hat Enterprise Linux 9vim-X11Fixed2:8.2.2637-22.el9_6.1RHSA-2025:20945
Red Hat Enterprise Linux 9vim-commonFixed2:8.2.2637-22.el9_6.1RHSA-2025:20945
Red Hat Enterprise Linux 9vim-enhancedFixed2:8.2.2637-23.el9_7RHSA-2025:17742
Red Hat Enterprise Linux 9vim-filesystemFixed2:8.2.2637-23.el9_7RHSA-2025:17742
Red Hat Enterprise Linux 9vim-minimalFixed2:8.2.2637-22.el9_6.1RHSA-2025:20945
Red Hat Enterprise Linux 8vimFixed2:8.0.1763-21.el8_10RHSA-2025:17715
Red Hat Enterprise Linux 8vim-X11Fixed2:8.0.1763-21.el8_10RHSA-2025:17715
Red Hat Enterprise Linux 8vim-commonFixed2:8.0.1763-21.el8_10RHSA-2025:17715
Red Hat Enterprise Linux 8vim-enhancedFixed2:8.0.1763-21.el8_10RHSA-2025:17715
Red Hat Enterprise Linux 8vim-filesystemFixed2:8.0.1763-21.el8_10RHSA-2025:17715
Red Hat Enterprise Linux 8vim-minimalFixed2:8.0.1763-21.el8_10RHSA-2025:17715
Red Hat Enterprise Linux 7vimWill not fix
Out of support scope
Red Hat Enterprise Linux 7vim-X11Will not fix
Out of support scope
Red Hat Enterprise Linux 7vim-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7vim-enhancedWill not fix
Out of support scope
Red Hat Enterprise Linux 7vim-filesystemWill not fix
Out of support scope
Red Hat Enterprise Linux 7vim-minimalWill not fix
Out of support scope
Red Hat Enterprise Linux 6vimWill not fix
Out of support scope
Red Hat Enterprise Linux 6vim-X11Will not fix
Out of support scope
Red Hat Enterprise Linux 6vim-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6vim-enhancedWill not fix
Out of support scope
Red Hat Enterprise Linux 6vim-filesystemWill not fix
Out of support scope
Red Hat Enterprise Linux 6vim-minimalWill not fix
Out of support scope
AlmaLinux 10vim-X11Fixed2:9.1.083-6.el10_1ALSA-2025:21015
AlmaLinux 10vim-commonFixed2:9.1.083-6.el10_1ALSA-2025:21015
AlmaLinux 10vim-dataFixed2:9.1.083-5.el10_0.1ALSA-2025:21015
AlmaLinux 10vim-enhancedFixed2:9.1.083-6.el10_1ALSA-2025:21015
AlmaLinux 10vim-filesystemFixed2:9.1.083-6.el10_1ALSA-2025:17913
AlmaLinux 10vim-minimalFixed2:9.1.083-6.el10_1ALSA-2025:21015
AlmaLinux 10xxdFixed2:9.1.083-6.el10_1ALSA-2025:21015
AlmaLinux 9vim-X11Fixed2:8.2.2637-23.el9_7ALSA-2025:17742
AlmaLinux 9vim-commonFixed2:8.2.2637-23.el9_7ALSA-2025:17742
AlmaLinux 9vim-enhancedFixed2:8.2.2637-22.el9_6.1ALSA-2025:20945
AlmaLinux 9vim-filesystemFixed2:8.2.2637-23.el9_7ALSA-2025:17742
AlmaLinux 9vim-minimalFixed2:8.2.2637-22.el9_6.1ALSA-2025:20945
AlmaLinux 8vim-X11Fixed2:8.0.1763-21.el8_10ALSA-2025:17715
AlmaLinux 8vim-commonFixed2:8.0.1763-21.el8_10ALSA-2025:17715
AlmaLinux 8vim-enhancedFixed2:8.0.1763-21.el8_10ALSA-2025:17715
AlmaLinux 8vim-filesystemFixed2:8.0.1763-21.el8_10ALSA-2025:17715
AlmaLinux 8vim-minimalFixed2:8.0.1763-21.el8_10ALSA-2025:17715
Rocky Linux 10vimFixed2:9.1.083-5.el10_0.1RLSA-2025:21015
Rocky Linux 9vimFixed2:8.2.2637-23.el9_7RLSA-2025:17742
Rocky Linux 8vimFixed2:8.0.1763-21.el8_10RLSA-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.

References

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.