CVE-2025-27423
highpriority · track · 8EPSS 0.225 · 98 %ileDEEURUUSEPSS · scored 2026-10-27
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
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (80)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0470vim (tar.vim plugin): Schwachstelle ermöglicht CodeausführungDeutsch2025-03-02csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in vim ausnutzen, um beliebigen Programmcode auszuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-27423cnnvd
- https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29cnnvd
- https://github.com/vim/vim/commit/334a13bff78aa0ad206bc436885f63e3a0bab399cnnvd
- https://github.com/vim/vim/releases/tag/v9.1.1164Patchcnnvd
- https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-27423cnnvd
- https://security.netapp.com/advisory/ntap-20250502-0002/cnnvd
- https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan