Every CVE Search/ Get API key

CVE-2008-2712

Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary...

9.3 HighPublic exploitFix available

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.

Exploit likelihood

15.0%Up 8.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 9.3

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.

Record
CVE-2008-2712
CVSS 2.0
9.3 HighAV:N/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2008-2712
Updated
2026-11-02
EUVDEUVD-2008-2706 No score

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.

Record
EUVD-2008-2706
Updated
2026-11-03
GitHub AdvisoriesGHSA-j8hm-6qv5-gj2w No score

Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary...

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.

Record
GHSA-j8hm-6qv5-gj2w
Weakness
CWE-20
Updated
2026-11-02
OSV No score

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.

Record
CVE-2008-2712
Updated
2026-11-02
OSVDEBIAN-CVE-2008-2712 No score

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.

Record
DEBIAN-CVE-2008-2712
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
vim
Debian:12
before 1:7.1.314-3
1:7.1.314-3
vim
Debian:13
before 1:7.1.314-3
1:7.1.314-3
vim
Debian:14
before 1:7.1.314-3
1:7.1.314-3
vim
Debian:4.0
From an advisory covering 5 CVEs
before 1:7.0-122+1etch5, plus listed versions
1:7.0-122+1etch21:7.0-122+1etch31:7.0-122+1etch4
1:7.0-122+1etch5
vim
Debian:5.0
before 1:7.1.293-3+lenny1
1:7.1.293-3+lenny1
vim
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-X11
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-common
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-enhanced
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
Show 75 moreShow less
Affected packages
PackageAffectedFixed
vim-minimal
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-X11
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-common
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-enhanced
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-minimal
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim
Red Hat:enterprise_linux:3::as
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-X11
Red Hat:enterprise_linux:3::as
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-common
Red Hat:enterprise_linux:3::as
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-debuginfo
Red Hat:enterprise_linux:3::as
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-enhanced
Red Hat:enterprise_linux:3::as
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-minimal
Red Hat:enterprise_linux:3::as
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim
Red Hat:enterprise_linux:3::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-X11
Red Hat:enterprise_linux:3::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-common
Red Hat:enterprise_linux:3::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-debuginfo
Red Hat:enterprise_linux:3::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-enhanced
Red Hat:enterprise_linux:3::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-minimal
Red Hat:enterprise_linux:3::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim
Red Hat:enterprise_linux:3::es
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-X11
Red Hat:enterprise_linux:3::es
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-common
Red Hat:enterprise_linux:3::es
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-debuginfo
Red Hat:enterprise_linux:3::es
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-enhanced
Red Hat:enterprise_linux:3::es
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-minimal
Red Hat:enterprise_linux:3::es
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim
Red Hat:enterprise_linux:3::ws
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-X11
Red Hat:enterprise_linux:3::ws
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-common
Red Hat:enterprise_linux:3::ws
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-debuginfo
Red Hat:enterprise_linux:3::ws
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-enhanced
Red Hat:enterprise_linux:3::ws
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim-minimal
Red Hat:enterprise_linux:3::ws
From an advisory covering 4 CVEs
before 1:6.3.046-0.30E.11
1:6.3.046-0.30E.11
vim
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-X11
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-common
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-debuginfo
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-enhanced
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-minimal
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-X11
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-common
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-debuginfo
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-enhanced
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-minimal
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-X11
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-common
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-debuginfo
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-enhanced
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-minimal
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-X11
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-common
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-debuginfo
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-enhanced
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim-minimal
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 1:6.3.046-1.el4_7.5z
1:6.3.046-1.el4_7.5z
vim
Red Hat:enterprise_linux:2.1::as
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-X11
Red Hat:enterprise_linux:2.1::as
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-common
Red Hat:enterprise_linux:2.1::as
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-enhanced
Red Hat:enterprise_linux:2.1::as
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-minimal
Red Hat:enterprise_linux:2.1::as
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim
Red Hat:enterprise_linux:2.1::aw
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-X11
Red Hat:enterprise_linux:2.1::aw
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-common
Red Hat:enterprise_linux:2.1::aw
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-enhanced
Red Hat:enterprise_linux:2.1::aw
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-minimal
Red Hat:enterprise_linux:2.1::aw
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim
Red Hat:enterprise_linux:2.1::es
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-X11
Red Hat:enterprise_linux:2.1::es
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-common
Red Hat:enterprise_linux:2.1::es
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-enhanced
Red Hat:enterprise_linux:2.1::es
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-minimal
Red Hat:enterprise_linux:2.1::es
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim
Red Hat:enterprise_linux:2.1::ws
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-X11
Red Hat:enterprise_linux:2.1::ws
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-common
Red Hat:enterprise_linux:2.1::ws
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-enhanced
Red Hat:enterprise_linux:2.1::ws
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25
vim-minimal
Red Hat:enterprise_linux:2.1::ws
From an advisory covering 2 CVEs
before 1:6.0-7.25
1:6.0-7.25

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBVim 7.x - Vim Script Multiple Command Execution Vulnerabilities2008-06-14

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2008-2712 is a high vulnerability (CVSS 9.3) in Vim, published June 16, 2008. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 15.0%, the 96th percentile. Fixed in vim 1:7.1.314-3.

References

Show 71 moreShow less
MoveEnter Open