VDB

CVE-2025-27423

CVE-2025-27423 PUBLISHED CVSS 7.1 HIGH

Improper Input Validation in Vim

Reported by github_m · Published March 3, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
vimAlpine9.1.1164-r0
vimvim9.1.1164

Risk scores

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

Affected products

VendorProductVersions
vimvim< 9.1.1164
alpinevim0
vimvim0

Timeline

  • Mar 2, 2025 CVE Published
  • Mar 3, 2025 PoC Published (13 in total, the first dated here)
  • Mar 4, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Aug 18, 2025 CVE Updated
  • Dec 18, 2025 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-27423
vulnetix vdb fixes CVE-2025-27423

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-27423/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›