CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-27423: Improper Input Validation in Vim

7.1 CVSS

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

Classification

CVE ID: CVE-2025-27423

CVSS Base Severity: HIGH

CVSS Base Score: 7.1

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Problem Types

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Affected Products

Vendor: vim

Product: vim

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.06% (probability of being exploited)

EPSS Percentile: 17.07% (scored less or equal to compared to others)

EPSS Date: 2025-04-01 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-27423
https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3
https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29
https://github.com/vim/vim/commit/334a13bff78aa0ad206bc436885f63e3a0bab399

Timeline