What’s Vulnerable › Vulnerabilities
CVE-2009-0316
- Severity: medium (CVSS 6.9 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2009-01-28 · updated 2026-06-16
Description
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/vim: through 7.2; 1.0, 1.22, 3.0, 4.0, 5.0, 5.1 (+14)
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484305
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493937
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://support.apple.com/kb/HT4077
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:047
- http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html
- http://www.openwall.com/lists/oss-security/2009/01/26/2
- http://www.securityfocus.com/bid/33447
- https://bugzilla.redhat.com/show_bug.cgi?id=481565
- https://exchange.xforce.ibmcloud.com/vulnerabilities/48275
- https://svn.pardus.org.tr/pardus/2008/applications/editors/vim/files/official/7.2.045
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484305
Get alerted when CVE-2009-0316 or the next vulnerability affects your stack