← Vulnerability feed

Vulnerability record · CVE-2008-3076 · published 21 February 2009

CVE-2008-3076: Vim os command injection vulnerability

Vim · Vim

The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames used by the execute and system functions within the (1) mz and (2) mc commands, as demonstrated by the netrw.v2 and netrw.v3 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712.

9.3 CVSS 2.0 High EPSS 9.0% · top 4.9% CWE-78 · OS command injection
9.3CVSS 2.0 base score
9.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
32References, 12 tagged exploit
16 Jun 2026Last modified by NVD

Description

The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames used by the execute and system functions within the (1) mz and (2) mc commands, as demonstrated by the netrw.v2 and netrw.v3 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712.

AV:N/AC:M/Au:N/C:C/I:C/A:C

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919
http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
http://marc.info/?l=bugtraq&m=121494431426308&w=2
http://marc.info/?l=oss-security&m=122416184431388&w=2 Exploit
http://secunia.com/advisories/34418
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324
http://www.mandriva.com/security/advisories?name=MDVSA-2008:236
http://www.openwall.com/lists/oss-security/2008/07/07/1 Exploit
http://www.openwall.com/lists/oss-security/2008/07/07/4 ExploitPatch
http://www.openwall.com/lists/oss-security/2008/07/08/12
http://www.openwall.com/lists/oss-security/2008/10/20/2
http://www.rdancer.org/vulnerablevim-netrw.html ExploitPatchVendor Advisory
http://www.rdancer.org/vulnerablevim-netrw.v2.html ExploitPatchVendor Advisory
http://www.redhat.com/support/errata/RHSA-2008-0580.html
http://www.securityfocus.com/bid/30115 Exploit
https://exchange.xforce.ibmcloud.com/vulnerabilities/43624
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919
http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
http://marc.info/?l=bugtraq&m=121494431426308&w=2
http://marc.info/?l=oss-security&m=122416184431388&w=2 Exploit
http://secunia.com/advisories/34418
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324
http://www.mandriva.com/security/advisories?name=MDVSA-2008:236
http://www.openwall.com/lists/oss-security/2008/07/07/1 Exploit
http://www.openwall.com/lists/oss-security/2008/07/07/4 ExploitPatch
http://www.openwall.com/lists/oss-security/2008/07/08/12
http://www.openwall.com/lists/oss-security/2008/10/20/2
http://www.rdancer.org/vulnerablevim-netrw.html ExploitPatchVendor Advisory
http://www.rdancer.org/vulnerablevim-netrw.v2.html ExploitPatchVendor Advisory
http://www.redhat.com/support/errata/RHSA-2008-0580.html
http://www.securityfocus.com/bid/30115 Exploit
https://exchange.xforce.ibmcloud.com/vulnerabilities/43624

Track CVE-2008-3076 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-20703Vim classic buffer overflow vulnerabilityBuffer Overflow vulnerability in VIM v.8.1.2135 allows a remote attacker to execute arbitrary code via the operand parameter.EPSS 1.5%9.8CVE-2022-3520Vim heap-based buffer overflow vulnerabilityHeap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.EPSS 1.0%9.8CVE-2022-0318Vim heap-based buffer overflow vulnerabilityHeap-based Buffer Overflow in vim/vim prior to 8.2.EPSS 2.0%9.8CVE-2017-6349Vim integer overflow vulnerabilityAn integer overflow at a u_read_undo memory allocation site would occur for vim before patch 8.0.0377, if it does not properly validate values for tr…EPSS 2.7%9.8CVE-2017-6350Vim integer overflow vulnerabilityAn integer overflow at an unserialize_uep memory allocation site would occur for vim before patch 8.0.0378, if it does not properly validate values f…EPSS 3.2%9.8CVE-2017-5953Vim integer overflow vulnerabilityvim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overflow at a …EPSS 2.8%9.3CVE-2008-6235Vim os command injection vulnerabilityThe Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename u…EPSS 3.0%9.3CVE-2008-3074Tar.vim os command injection vulnerabilityThe shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation…EPSS 3.8%

Source: NIST National Vulnerability Database (record CVE-2008-3076), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.