CVE-2008-3074Vim Tar.vim
Critical 9.3 No auth needed
Follow: this CVE · Vim · Vim Tar.vim We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 2.0
- 9.3
- EPSS
- 3.8% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Feb 21, 2009
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
AV:N/AC:M/Au:N/C:C/I:C/A:C
What happens
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.
What to do
- Apply the vendor's security update for Tar.vim.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vim | tar.vim | v.10 |
| vim | tar.vim | v.11 |
| vim | tar.vim | v.12 |
| vim | tar.vim | v.13 |
| vim | tar.vim | v.14 |
| vim | tar.vim | v.15 |
| vim | tar.vim | v.16 |
| vim | tar.vim | v.17 |
| vim | tar.vim | v.18 |
| vim | tar.vim | v.19 |
| vim | tar.vim | v.20 |
| vim | tar.vim | v.21 |
| vim | tar.vim | v.22 |
| vim | vim | 7.0 |
| vim | vim | 7.1 |
| vim | vim | 7.1.266 |
| vim | vim | 7.1.314 |
| vim | vim | 7.2 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org
- lists.opensuse.org
- marc.info
- secunia.com
- wiki.rpath.com
- www.mandriva.com
- www.openwall.com
- www.openwall.com Exploit Patch
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.rdancer.org
- www.rdancer.org Exploit Patch Vendor Advisory
- www.redhat.com
- www.securityfocus.com
- bugzilla.redhat.com
- oval.cisecurity.org