Vulnerabilities · 2009 · Vim
CVE-2009-0316
Vim vulnerability
Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983), as demonstrated by an erroneous search path for plugin/bike.vim in bicyclerepair.
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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=484305
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=493937
- lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- support.apple.com/kb/HT4077
- www.mandriva.com/security/advisories?name=MDVSA-2009:047
- www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from
- www.openwall.com/lists/oss-security/2009/01/26/2
- www.securityfocus.com/bid/33447
- nvd.nist.gov/vuln/detail/CVE-2009-0316
- cve.org/CVERecord?id=CVE-2009-0316
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.