CVE-2008-2712
Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not…
- 9.3HighCVSS base score
- 15.0%Exploitation in 30 daysEPSS · top 3.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Show the exploits1
Exploit-DB1 entry
- Vim 7.x - Vim Script Multiple Command Execution Vulnerabilities (Exploit-DB entry) (opens in a new tab)
EDB-ID 31911local, linuxpublished 14 Jun 2008Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 16 years later
· 16 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 15.0% · top 3.2% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 9.3.
Affected products
n/a
- affected n/a
References
40
- http://www.vmware.com/security/advisories/VMSA-2009-0004.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SR:2009:007 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2008:0618 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.rdancer.org/vulnerablevim.html (opens in a new tab)x_refsource_MISCx_transferred
- USN-712-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- oval:org.mitre.oval:def:6238 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 31681 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- vim-scripts-command-execution(43083) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 32858 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 33410 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- APPLE-SA-2010-03-29-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- RHSA-2008:0580 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm (opens in a new tab)x_refsource_CONFIRMx_transferred
- 34418 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2009-0904 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- ADV-2009-0033 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 20080811 rPSA-2008-0247-1 gvim vim vim-minimal (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20080614 Re: Collection of Vulnerabilities in Fully Patched Vim 7.1 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- oval:org.mitre.oval:def:11109 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 20090401 VMSA-2009-0004 ESX Service Console updates for openssl, bind, and vim (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- [oss-security] 20080616 CVE Id request: vim (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20080701 Re: Collection of Vulnerabilities in Fully Patched Vim 7.1 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- ADV-2008-1851 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://support.avaya.com/elmodocs2/security/ASA-2008-457.htm (opens in a new tab)x_refsource_CONFIRMx_transferred
- 30731 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 32222 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://support.apple.com/kb/HT4077 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://issues.rpath.com/browse/RPL-2622 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 3951 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- MDVSA-2008:236 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- ADV-2008-2780 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- [oss-security] 20081015 Vim CVE issues cleanup (plugins tar.vim, zip.vim) - CVE-2008-3074 and CVE-2008-3075 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 32864 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 1020293 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- APPLE-SA-2008-10-09 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- http://support.apple.com/kb/HT3216 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 29715 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://wiki.rpath.com/Advisories:rPSA-2008-0247 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2008:0617 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 20080613 Collection of Vulnerabilities in Fully Patched Vim 7.1 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2008-2706 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2008-2712)Record last updated .