{"id":"CVE-2008-3074","url":"https://www.cyber-defence.io/tools/cve/CVE-2008-3074","generatedAt":"2026-10-27T17:30:57.531Z","title":"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…","description":"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.","published":"2009-02-21T22:30:00.000Z","lastModified":"2026-06-16T22:55:02.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":9.3,"severity":"HIGH","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C"},"cwe":["CWE-78"],"affected":["vim/tar.vim","vim/vim"],"epss":{"score":0.03841,"percentile":0.90046,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (3.84%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html","source":"cve@mitre.org"},{"url":"http://marc.info/?l=bugtraq&m=121494431426308&w=2","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/34418","source":"cve@mitre.org"},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:236","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/07/1","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/07/4","tags":["Exploit","Patch"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/08/12","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/10/7","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/13/1","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/15/4","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/01/1","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/10/15/1","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/10/20/2","source":"cve@mitre.org"},{"url":"http://www.rdancer.org/vulnerablevim-shellescape.html","source":"cve@mitre.org"},{"url":"http://www.rdancer.org/vulnerablevim.html","tags":["Exploit","Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0580.html","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/32462","source":"cve@mitre.org"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=467428","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10754","source":"cve@mitre.org"},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=121494431426308&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/34418","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:236","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/07/1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/07/4","tags":["Exploit","Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/08/12","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/10/7","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/13/1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/07/15/4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/01/1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/10/15/1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/10/20/2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.rdancer.org/vulnerablevim-shellescape.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.rdancer.org/vulnerablevim.html","tags":["Exploit","Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0580.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/32462","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=467428","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10754","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-3074","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}