Vulnerabilities · 2008 · Vim
CVE-2008-6235
Vim vulnerability
The 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 used by the (1) "D" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.
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.v5.html · Exploit
- www.rdancer.org/vulnerablevim-netrw.v2.html · Patch
- www.openwall.com/lists/oss-security/2008/10/16/2 · Exploit
- lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
- secunia.com/advisories/34418
- www.openwall.com/lists/oss-security/2008/10/20/2
- www.redhat.com/support/errata/RHSA-2008-0580.html
- nvd.nist.gov/vuln/detail/CVE-2008-6235
- cve.org/CVERecord?id=CVE-2008-6235
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.