Live threats

All CVEs / Vim

CVE-2008-3074Vim Tar.vim

Critical 9.3 No auth needed

Priority
71
CVSS 2.0
9.3
EPSS
3.8%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Feb 21, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
AV:N/AC:M/Au:N/C:C/I:C/A:C

What happens

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tar.vim.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
vimtar.vimv.10
vimtar.vimv.11
vimtar.vimv.12
vimtar.vimv.13
vimtar.vimv.14
vimtar.vimv.15
vimtar.vimv.16
vimtar.vimv.17
vimtar.vimv.18
vimtar.vimv.19
vimtar.vimv.20
vimtar.vimv.21
vimtar.vimv.22
vimvim7.0
vimvim7.1
vimvim7.1.266
vimvim7.1.314
vimvim7.2

Official sources

References

Links published by the sources. Open them with care.