SecurityContext

CVE-2025-27423: Vim - Command Injection

  • Cve: CVE-2025-27423
  • Name: Vim - Command Injection
  • 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
  • Impact: Attackers can execute arbitrary shell commands on the system, potentially leading to full system compromise.
  • Remediation: Update Vim to version 9.1.1164 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs user to open malicious tar archive
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
  • Epss score: 0.22474
  • Epss percentile: 0.97757
  • Assignee: [email protected]
  • Published at: 2025-03-03T17:15:15Z
  • Age in days: 630
  • Modified at: 2026-06-17T09:03:33Z
  • Patch available: yes
  • References total: 4
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-27423
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-77Improper Neutralization of Special Elements used in a Command

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29Patch
https://github.com/vim/vim/commit/334a13bff78aa0ad206bc436885f63e3a0bab399Patch
https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3Vendor Advisory
https://security.netapp.com/advisory/ntap-20250502-0002/Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
vim:vim>= 9.1.0858, < 9.1.1164nonvd/v1/products/vim/vim
netapp:hci_compute_nodeall versionsnonvd/v1/products/netapp/hci_compute_node

Projects

RepositoryLink kindsIndexedUrl
vim/vimcommit, security_advisoryyes/v1/repositories/vim/vim

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 367
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports