Every CVE Search/ Get API key

CVE-2008-3074

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted...

9.3 HighFix available

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

Exploit likelihood

3.84%Up 1.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 9.3

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

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

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

Record
CVE-2008-3074
Updated
2026-11-02
EUVDEUVD-2008-3064 No score

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

Record
EUVD-2008-3064
Updated
2026-11-03
GitHub AdvisoriesGHSA-rj5h-39v8-hch3 No score

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted...

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

Record
GHSA-rj5h-39v8-hch3
Weakness
CWE-78
Updated
2026-11-02
OSV No score

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

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

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

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

Affected products

Affected packages

Affected packages
PackageAffectedFixed
vim
Debian:12
before 2:7.2.010-1
2:7.2.010-1
vim
Debian:13
before 2:7.2.010-1
2:7.2.010-1
vim
Debian:14
before 2:7.2.010-1
2:7.2.010-1
vim
Debian:4.0
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
Red Hat:enterprise_linux:5::client
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
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
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
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
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
vim-minimal
Red Hat:enterprise_linux:5::client
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z
Show 6 moreShow less
Affected packages
PackageAffectedFixed
vim
Red Hat:enterprise_linux:5::server
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
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
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
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
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
before 2:7.0.109-4.el5_2.4z
2:7.0.109-4.el5_2.4z

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2008-3074 is a high vulnerability (CVSS 9.3) in Vim Tar.vim, published February 21, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.84%, the 90th percentile. Fixed in vim 2:7.2.010-1.

References

Show 43 moreShow less
MoveEnter Open