CVE-2025-27423CWE-77

Improper Input Validation in Vim

High · published March 3, 2025

CVSS v3.1
7.1
EPSS
22%
Percentile
97.7
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.22474 · 97.7th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2025-03-03T16:30Z
EPSS history
Timeline
  • 03 MAR 16:30Z
    Improper Input Validation in Vim
    cvelistv5