7.1
HIGH
CVE-2025-27423
Vim Tar.vim Plugin Command Injection Vulnerability
Description

Vim is an open source, command line text editor. Vim is distributed with the tar.vim plugin, that allows easy editing and viewing of (compressed or uncompressed) tar files. Starting with 9.1.0858, the tar.vim plugin uses the ":read" ex command line to append below the cursor position, however the is not sanitized and is taken literally from the tar archive. This allows to execute shell commands via special crafted tar archives. Whether this really happens, depends on the shell being used ('shell' option, which is set using $SHELL). The issue has been fixed as of Vim patch v9.1.1164

INFO

Published Date :

March 3, 2025, 5:15 p.m.

Last Modified :

March 3, 2025, 5:15 p.m.

Remotely Exploitable :

No

Impact Score :

5.2

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2025-27423 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Vim vim
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-27423.

URL Resource
https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29
https://github.com/vim/vim/commit/334a13bff78aa0ad206bc436885f63e3a0bab399
https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-27423 vulnerability anywhere in the article.

  • Cyber Security News
Vim Editor Vulnerability Exploited Via TAR Files to Trigger Code Execution

The Vim text editor vulnerability CVE-2025-27423 is a high-severity issue that allows for arbitrary code execution via malicious TAR archives. Affecting Vim versions prior to 9.1.1164, this flaw in th ... Read more

Published Date: Mar 05, 2025 (1 month ago)
  • Cybersecurity News
Vim Users Warned: Crafted TAR Files Could Trigger Code Execution (CVE-2025-27423)

A newly discovered vulnerability in the popular text editor Vim could allow malicious actors to execute arbitrary code on unsuspecting users’ systems. The flaw, tracked as CVE-2025-27423, resides with ... Read more

Published Date: Mar 05, 2025 (1 month ago)

The following table lists the changes that have been made to the CVE-2025-27423 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Mar. 03, 2025

    Action Type Old Value New Value
    Added Description Vim is an open source, command line text editor. Vim is distributed with the tar.vim plugin, that allows easy editing and viewing of (compressed or uncompressed) tar files. Starting with 9.1.0858, the tar.vim plugin uses the ":read" ex command line to append below the cursor position, however the is not sanitized and is taken literally from the tar archive. This allows to execute shell commands via special crafted tar archives. Whether this really happens, depends on the shell being used ('shell' option, which is set using $SHELL). The issue has been fixed as of Vim patch v9.1.1164
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
    Added CWE CWE-77
    Added Reference https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29
    Added Reference https://github.com/vim/vim/commit/334a13bff78aa0ad206bc436885f63e3a0bab399
    Added Reference https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-27423 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability