CVE-2025-53905

Vim has path traversial issue with tar.vim and special crafted tar files

At a glance

Severity
MEDIUM 4.1
EPSS
EPSS 0.32 % · percentile 24 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Modified

Description

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.

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:LGitHub_M
CVSS 3.1MEDIUM 4.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:LNVD · security-advisories@github.com (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
vim · vimaffected < 9.1.1552

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD