Live threats

All CVEs / Vim

CVE-2008-2712Vim

Critical 9.3 No auth neededHigh EPSS

Priority
72
CVSS 2.0
9.3
EPSS
15.0%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Jun 16, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:M/Au:N/C:C/I:C/A:C

What happens

Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.

Original NVD text.

What to do

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

Affected products (CPE)

VendorProductVersions
vimvim≤ 6.4
vimvim≥ 7.0 ≤ 7.1.314
canonicalubuntu_linux6.06
canonicalubuntu_linux7.10
canonicalubuntu_linux8.04
canonicalubuntu_linux8.10

Official sources

References

Links published by the sources. Open them with care.