Vulnerabilities · 2008 · Vim
CVE-2008-3076
Vim vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Vim. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.rdancer.org/vulnerablevim-netrw.html · Exploit
- www.rdancer.org/vulnerablevim-netrw.v2.html · Exploit
- www.openwall.com/lists/oss-security/2008/07/07/4 · Exploit
- marc.info/?l=oss-security&m=122416184431388&w=2 · Exploit
- www.openwall.com/lists/oss-security/2008/07/07/1 · Exploit
- www.securityfocus.com/bid/30115 · Exploit
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919
- lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
- nvd.nist.gov/vuln/detail/CVE-2008-3076
- cve.org/CVERecord?id=CVE-2008-3076
More vulnerabilities in Vim products
CVE-2025-66476CVE-2025-55158CVE-2025-55157CVE-2025-53906CVE-2025-53905CVE-2025-29768CVE-2025-27423CVE-2025-26603All 205
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.