cve.bz

CVE-2025-53905 vim vim: Path traversal

4.1 mediumExploit referenceEPSS 0.4%Fix available

Medium (4.1) in vim vim. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.1 medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L
EPSS
0.4% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-07-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-53905 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-53905?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-53905?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-53905 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vim:vimbefore 9.1.1552

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12vimno fix listedDEBIAN-CVE-2025-53905
Debian13vim2:9.1.1230-2+deb13u1DEBIAN-CVE-2025-53905 DSA-6600-1
Debian14vim2:9.1.1829-1DEBIAN-CVE-2025-53905
Ubuntu22.04:LTS, Pro:14.04:LTS, Pro:16.04:LTS and 2 morevimno fix listedUBUNTU-CVE-2025-53905
Ubuntu24.04:LTSvim2:9.1.0016-1ubuntu7.9UBUNTU-CVE-2025-53905 USN-7748-1
Red Hatenterprise_linux:8::appstreamvim-X11, vim-common, vim-enhanced and 7 more2:8.0.1763-21.el8_10RHSA-2025:17715
Red Hatenterprise_linux:8::baseosvim, vim-minimal, vim-debuginfo and 5 more2:8.0.1763-21.el8_10RHSA-2025:17715
Red Hatenterprise_linux:9::appstreamvim-X11, vim-common, vim-enhanced and 6 more2:8.2.2637-22.el9_6.1RHSA-2025:17742
Red Hatenterprise_linux:9::appstreamvim-X11, vim-common, vim-enhanced and 6 more2:8.2.2637-23.el9_7RHSA-2025:20945
Red Hatenterprise_linux:9::baseosvim, vim-minimal, vim-debuginfo and 6 more2:8.2.2637-22.el9_6.1RHSA-2025:17742
Red Hatenterprise_linux:9::baseosvim, vim-minimal, vim-debuginfo and 6 more2:8.2.2637-23.el9_7RHSA-2025:20945
Red Hatenterprise_linux:10.0vim, xxd, vim-X11 and 11 more2:9.1.083-5.el10_0.1RHSA-2025:17913
Red Hatenterprise_linux:10.1vim, xxd, vim-X11 and 11 more2:9.1.083-6.el10_1RHSA-2025:21015
Red Hatrhel_eus:9.4::appstreamvim-X11, vim-common, vim-enhanced and 6 more2:8.2.2637-20.el9_4.1RHSA-2025:17644
Red Hatrhel_eus:9.4::baseosvim, vim-minimal, vim-debuginfo and 6 more2:8.2.2637-20.el9_4.1RHSA-2025:17644
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 1 morevim9.1.1629-150000.5.78.1SUSE-SU-2025:03240-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7 and 2 morevim9.1.1629-150500.20.33.1SUSE-SU-2025:03300-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5vim9.1.1629-17.51.1SUSE-SU-2025:03299-1
SUSELinux Micro 6.0vim9.1.1629-1.1SUSE-SU-2025:20696-1
SUSELinux Micro 6.1vim9.1.1629-slfo.1.1_1.1SUSE-SU-2025:20857-1
openSUSELeap 15.6vim9.1.1629-150500.20.33.1SUSE-SU-2025:03300-1
AlmaLinux8vim-X11, vim-common, vim-minimal and 2 more2:8.0.1763-21.el8_10ALSA-2025:17715
AlmaLinux9vim-X11, vim-common, vim-minimal and 2 more2:8.2.2637-22.el9_6.1ALSA-2025:17742
AlmaLinux9vim-X11, vim-common, vim-minimal and 2 more2:8.2.2637-23.el9_7ALSA-2025:20945
AlmaLinux10vim-data, vim-filesystem2:9.1.083-5.el10_0.1ALSA-2025:17913
AlmaLinux10xxd, vim-X11, vim-data and 4 more2:9.1.083-6.el10_1ALSA-2025:21015
Rocky Linux8vim2:8.0.1763-21.el8_10RLSA-2025:17715
Rocky Linux9vim2:8.2.2637-22.el9_6.1RLSA-2025:17742
Rocky Linux9vim2:8.2.2637-23.el9_7RLSA-2025:20945
Rocky Linux10vim2:9.1.083-5.el10_0.1RLSA-2025:17913
Rocky Linux10vim2:9.1.083-6.el10_1.1RLSA-2025:21015
Azure Linux2vim9.1.1552-1AZL-65513
Azure Linux3vim9.1.1552-1AZL-65330
Alpaquita23, streamvim9.1.1552-r0BELL-CVE-2025-53905
Alpaquita25vim9.1.2141-r0BELL-CVE-2025-53905

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10vim-2:9.1.083-5.el10_0.1Fixed 2025-10-14RHSA-2025:17913
Red Hat Enterprise Linux 10vim-2:9.1.083-6.el10_1Fixed 2025-11-11RHSA-2025:21015
Red Hat Enterprise Linux 8vim-2:8.0.1763-21.el8_10Fixed 2025-10-09RHSA-2025:17715
Red Hat Enterprise Linux 9vim-2:8.2.2637-22.el9_6.1Fixed 2025-10-13RHSA-2025:17742
Red Hat Enterprise Linux 9vim-2:8.2.2637-23.el9_7Fixed 2025-11-11RHSA-2025:20945
Red Hat Enterprise Linux 9.4 Extended Update Supportvim-2:8.2.2637-20.el9_4.1Fixed 2025-10-09RHSA-2025:17644
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:3.2.2-1765379088Fixed 2025-12-10RHSA-2025:23078
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:3.2.2-1765379049Fixed 2025-12-10RHSA-2025:23079
Red Hat AI Inference Server 3.2rhaiis/model-opt-cuda-rhel9:3.2.2-1764871796Fixed 2025-12-10RHSA-2025:23080
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1772160593Fixed 2026-02-27RHSA-2026:3461
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:1772160625Fixed 2026-02-27RHSA-2026:3462
Red Hat Discovery 2discovery/discovery-ui-rhel9:2.3.0-1760554384Fixed 2025-10-23RHSA-2025:19088
Red Hat Discovery 2discovery/discovery-ui-rhel9:2.4.0-1763656152Fixed 2025-11-24RHSA-2025:21994
Red Hat Insights proxy 1.5insights-proxy/insights-proxy-container-rhel9:1.5.8-1762789260Fixed 2025-11-10RHSA-2025:20066
Red Hat Insights proxy 1.5insights-proxy/insights-proxy-container-rhel9:1.5.9-1765201856Fixed 2025-12-08RHSA-2025:22868
Red Hat Enterprise Linux 6vimOut of support scope
Red Hat Enterprise Linux 7vimOut of support scope
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-53905.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON