CVE-2008-2712 in the critical feed json
Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not proper…
published 2008-06-16 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-2706
- cvss
- 9.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 15.0%
- EPSS 15.0% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- vim Debian 14, Debian 13, Debian 12 1:7.1.314-3
debian advisories DEBIAN-CVE-2008-2712
- vim RHEL 3 1:6.3.046-0.30E.11
- vim RHEL 4 1:6.3.046-1.el4_7.5z
- vim-X11 RHEL 3 1:6.3.046-0.30E.11
- vim-X11 RHEL 4 1:6.3.046-1.el4_7.5z
- vim-common RHEL 3 1:6.3.046-0.30E.11
- vim-common RHEL 4 1:6.3.046-1.el4_7.5z
- vim-minimal RHEL 3 1:6.3.046-0.30E.11
- vim-minimal RHEL 4 1:6.3.046-1.el4_7.5z
red hat advisories RHSA-2008:0617RHSA-2008:0618RHSA-2008:0580
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-2712 updated
vim: command execution via scripts not sanitizing inputs to execute and system
-
Red Hat Desktop version 3 vim 6.3.046-0.30E.11, vim-X11 6.3.046-0.30E.11, vim-common 6.3.046-0.30E.11, vim-minimal 6.3.046-0.30E.11, vim-enhanced 6.3.046-0.30E.11fixed: vendor fix RHSA-2008:0617
-
Red Hat Enterprise Linux (v. 5 server) vim 7.0.109-4.el5_2.4z, vim-X11 7.0.109-4.el5_2.4z, vim-common 7.0.109-4.el5_2.4z, vim-minimal 7.0.109-4.el5_2.4z, vim-enhanced 7.0.109-4.el5_2.4zfixed: vendor fix RHSA-2008:0580
-
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 vim 6.0-7.25, vim-X11 6.0-7.25, vim-common 6.0-7.25, vim-minimal 6.0-7.25, vim-enhanced 6.0-7.25fixed: vendor fix RHSA-2008:0618
-
Red Hat Enterprise Linux AS version 3 vim 6.3.046-0.30E.11, vim-X11 6.3.046-0.30E.11, vim-common 6.3.046-0.30E.11, vim-minimal 6.3.046-0.30E.11, vim-enhanced 6.3.046-0.30E.11 Red Hat Enterprise Linux AS version 4 vim 6.3.046-1.el4_7.5z, vim-X11 6.3.046-1.el4_7.5z, vim-common 6.3.046-1.el4_7.5z, vim-minimal 6.3.046-1.el4_7.5z, vim-enhanced 6.3.046-1.el4_7.5zfixed: vendor fix RHSA-2008:0617
-
Red Hat Enterprise Linux Desktop (v. 5 client) vim 7.0.109-4.el5_2.4z, vim-X11 7.0.109-4.el5_2.4z, vim-common 7.0.109-4.el5_2.4z, vim-minimal 7.0.109-4.el5_2.4z, vim-enhanced 7.0.109-4.el5_2.4zfixed: vendor fix RHSA-2008:0580
-
Red Hat Enterprise Linux Desktop version 4 vim 6.3.046-1.el4_7.5z, vim-X11 6.3.046-1.el4_7.5z, vim-common 6.3.046-1.el4_7.5z, vim-minimal 6.3.046-1.el4_7.5z, vim-enhanced 6.3.046-1.el4_7.5zfixed: vendor fix RHSA-2008:0617
-
Red Hat Enterprise Linux ES version 2.1 vim 6.0-7.25, vim-X11 6.0-7.25, vim-common 6.0-7.25, vim-minimal 6.0-7.25, vim-enhanced 6.0-7.25fixed: vendor fix RHSA-2008:0618
-
Red Hat Enterprise Linux ES version 3 vim 6.3.046-0.30E.11, vim-X11 6.3.046-0.30E.11, vim-common 6.3.046-0.30E.11, vim-minimal 6.3.046-0.30E.11, vim-enhanced 6.3.046-0.30E.11 Red Hat Enterprise Linux ES version 4 vim 6.3.046-1.el4_7.5z, vim-X11 6.3.046-1.el4_7.5z, vim-common 6.3.046-1.el4_7.5z, vim-minimal 6.3.046-1.el4_7.5z, vim-enhanced 6.3.046-1.el4_7.5zfixed: vendor fix RHSA-2008:0617
show 3 moreshow fewer
-
Red Hat Enterprise Linux WS version 2.1 vim 6.0-7.25, vim-X11 6.0-7.25, vim-common 6.0-7.25, vim-minimal 6.0-7.25, vim-enhanced 6.0-7.25fixed: vendor fix RHSA-2008:0618
-
Red Hat Enterprise Linux WS version 3 vim 6.3.046-0.30E.11, vim-X11 6.3.046-0.30E.11, vim-common 6.3.046-0.30E.11, vim-minimal 6.3.046-0.30E.11, vim-enhanced 6.3.046-0.30E.11 Red Hat Enterprise Linux WS version 4 vim 6.3.046-1.el4_7.5z, vim-X11 6.3.046-1.el4_7.5z, vim-common 6.3.046-1.el4_7.5z, vim-minimal 6.3.046-1.el4_7.5z, vim-enhanced 6.3.046-1.el4_7.5zfixed: vendor fix RHSA-2008:0617
-
Red Hat Linux Advanced Workstation 2.1 vim 6.0-7.25, vim-X11 6.0-7.25, vim-common 6.0-7.25, vim-minimal 6.0-7.25, vim-enhanced 6.0-7.25fixed: vendor fix RHSA-2008:0618
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-31911)
- Published
Exploit prediction
15.04% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-31911 Vim 7.x - Vim Script Multiple Command Execution Vulnerabilities local, 2008-06-14
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
lists.opensuse.org
/opensuse-security-announce/2009-03/msg00004.html
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2008-0618.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-712-1
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2010//Mar/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
redhat.com
/support/errata/RHSA-2008-0580.html
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2008:236
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2008/Oct/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
redhat.com
/support/errata/RHSA-2008-0617.html
vendor-advisory, third-party-advisory
-
vmware.com
/security/advisories/VMSA-2009-0004.html
third-party-advisory
-
rdancer.org
/vulnerablevim.html
broken-link
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6238
vdb-entry, signature, third-party-advisory
-
securityfocus.com
/bid/31681
vdb-entry, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/43083
vdb-entry, third-party-advisory
-
secunia.com
/advisories/32858
third-party-advisory
-
secunia.com
/advisories/33410
third-party-advisory
-
support.avaya.com
/elmodocs2/security/ASA-2009-001.htm
third-party-advisory
-
secunia.com
/advisories/34418
third-party-advisory
-
vupen.com
/english/advisories/2009/0904
vdb-entry, third-party-advisory
-
vupen.com
/english/advisories/2009/0033
vdb-entry, third-party-advisory
-
securityfocus.com
/archive/1/495319/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
securityfocus.com
/archive/1/493353/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11109
vdb-entry, signature, third-party-advisory
-
securityfocus.com
/archive/1/502322/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
openwall.com
/lists/oss-security/2008/06/16/2
mailing-list, third-party-advisory
-
marc.info
/?l=bugtraq&m=121494431426308&w=2
mailing-list, third-party-advisory
-
vupen.com
/english/advisories/2008/1851/references
vdb-entry, third-party-advisory
-
support.avaya.com
/elmodocs2/security/ASA-2008-457.htm
third-party-advisory
-
secunia.com
/advisories/30731
third-party-advisory
-
secunia.com
/advisories/32222
third-party-advisory
-
support.apple.com
/kb/HT4077
third-party-advisory
-
issues.rpath.com
/browse/RPL-2622
broken-link
-
securityreason.com
/securityalert/3951
third-party-advisory
-
vupen.com
/english/advisories/2008/2780
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2008/10/15/1
mailing-list, third-party-advisory
-
secunia.com
/advisories/32864
third-party-advisory
-
securitytracker.com
/id?1020293
vdb-entry, third-party-advisory
-
support.apple.com
/kb/HT3216
third-party-advisory
-
securityfocus.com
/bid/29715
vdb-entry, third-party-advisory
-
wiki.rpath.com
/Advisories:rPSA-2008-0247
third-party-advisory
-
securityfocus.com
/archive/1/493352/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
Sources
- CVE List CVE-2008-2712
- NVD CVE-2008-2712
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.