CVE-2009-0316
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.734%
chance of exploitation in the next 30 days
higher than 86.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Timeline
- 2009-01-28Published by the CNA11:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| vim vim | 1.0no fix listed1.22no fix listed3.0no fix listed4.0no fix listed5.0no fix listed(+16 more) | not listednot listednot listednot listednot listed |
References
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:047
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484305
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493937
- http://support.apple.com/kb/HT4077
- 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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2009-0316'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2009-0316'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2009-0316'curl 'https://api.contrastcyber.com/cve_products/CVE-2009-0316'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).