Home / Vim / Vim / CVE-2008-2712
CVE-2008-2712: is it exploited, and which versions of Vim are affected and fixed?
CVE-2008-2712 is an improper input validation vulnerability in Vim. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: vim through 6.4, vim from 7.0 through 7.1.314, ubuntu linux 6.06 and 3 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (9.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is 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 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.
From the CVE record by mitre, last updated August 7, 2024, 09:14 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vim | vim | through 6.4 | application |
| vim | vim | from 7.0 through 7.1.314 | application |
| canonical | ubuntu linux | 6.06 | operating system |
| canonical | ubuntu linux | 7.10 | operating system |
| canonical | ubuntu linux | 8.04 | operating system |
| canonical | ubuntu linux | 8.10 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:54 UTC.
How severe is CVE-2008-2712?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-2712 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 15.0% probability of exploitation activity in the next 30 days, percentile 96.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- http://www.vmware.com/security/advisories/VMSA-2009-0004.html x_refsource_CONFIRM
- SUSE-SR:2009:007 vendor-advisory, x_refsource_SUSE
- RHSA-2008:0618 vendor-advisory, x_refsource_REDHAT
- http://www.rdancer.org/vulnerablevim.html x_refsource_MISC
- USN-712-1 vendor-advisory, x_refsource_UBUNTU
- oval:org.mitre.oval:def:6238 vdb-entry, signature, x_refsource_OVAL
- 31681 vdb-entry, x_refsource_BID
- vim-scripts-command-execution(43083) vdb-entry, x_refsource_XF
- 32858 third-party-advisory, x_refsource_SECUNIA
- 33410 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2010-03-29-1 vendor-advisory, x_refsource_APPLE
- RHSA-2008:0580 vendor-advisory, x_refsource_REDHAT
- http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm x_refsource_CONFIRM
- 34418 third-party-advisory, x_refsource_SECUNIA
- ADV-2009-0904 vdb-entry, x_refsource_VUPEN
- ADV-2009-0033 vdb-entry, x_refsource_VUPEN
- 20080811 rPSA-2008-0247-1 gvim vim vim-minimal mailing-list, x_refsource_BUGTRAQ
- 20080614 Re: Collection of Vulnerabilities in Fully Patched Vim 7.1 mailing-list, x_refsource_BUGTRAQ
- oval:org.mitre.oval:def:11109 vdb-entry, signature, x_refsource_OVAL
- 20090401 VMSA-2009-0004 ESX Service Console updates for openssl, bind, and vim mailing-list, x_refsource_BUGTRAQ
- [oss-security] 20080616 CVE Id request: vim mailing-list, x_refsource_MLIST
- 20080701 Re: Collection of Vulnerabilities in Fully Patched Vim 7.1 mailing-list, x_refsource_BUGTRAQ
- ADV-2008-1851 vdb-entry, x_refsource_VUPEN
- http://support.avaya.com/elmodocs2/security/ASA-2008-457.htm x_refsource_CONFIRM
- 30731 third-party-advisory, x_refsource_SECUNIA
- 32222 third-party-advisory, x_refsource_SECUNIA
- http://support.apple.com/kb/HT4077 x_refsource_CONFIRM
- https://issues.rpath.com/browse/RPL-2622 x_refsource_CONFIRM
- 3951 third-party-advisory, x_refsource_SREASON
- MDVSA-2008:236 vendor-advisory, x_refsource_MANDRIVA
- ADV-2008-2780 vdb-entry, x_refsource_VUPEN
- [oss-security] 20081015 Vim CVE issues cleanup (plugins tar.vim, zip.vim) - CVE-2008-3074 and CVE-2008-3075 mailing-list, x_refsource_MLIST
- 32864 third-party-advisory, x_refsource_SECUNIA
- 1020293 vdb-entry, x_refsource_SECTRACK
- APPLE-SA-2008-10-09 vendor-advisory, x_refsource_APPLE
- http://support.apple.com/kb/HT3216 x_refsource_CONFIRM
- 29715 vdb-entry, x_refsource_BID
- http://wiki.rpath.com/Advisories:rPSA-2008-0247 x_refsource_CONFIRM
- RHSA-2008:0617 vendor-advisory, x_refsource_REDHAT
- 20080613 Collection of Vulnerabilities in Fully Patched Vim 7.1 mailing-list, x_refsource_BUGTRAQ
When was it published, and where is the official record?
- Reserved
- June 16, 2008
- Published
- June 16, 2008, 21:00 UTC
- CVE record updated
- August 7, 2024, 09:14 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:54 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Vim?
- Nov 22, 2026CVE-2026-134832 Vim: incorrect Behavior Order: Validate Before Canonicalize
- Aug 19, 2026CVE-2026-43961 vim: code injection (remote code execution)
- Aug 18, 2026CVE-2026-73073 vim: code injection (remote code execution)
- Aug 11, 2026CVE-2026-73078 vim: command injection
- Aug 11, 2026CVE-2026-73077 vim: OS command injection
- Aug 11, 2026CVE-2026-73076 vim: code injection (remote code execution)
- Aug 11, 2026CVE-2026-73075 vim: buffer Underwrite
- Aug 11, 2026CVE-2026-73074 vim: integer overflow
Questions about CVE-2008-2712
Is CVE-2008-2712 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 15.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Vim are affected by CVE-2008-2712?
vim through 6.4, vim from 7.0 through 7.1.314, ubuntu linux 6.06, ubuntu linux 7.10, ubuntu linux 8.04 and ubuntu linux 8.10, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-2712?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2008-2712?
High (9.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-2712?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.