Back
CVE-2009-0316
Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute…
Medium6.9EPSS 2.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 2.7% · top 14% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (11)
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493937 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484305 (opens in a new tab)x_refsource_MISCx_transferred
- 33447 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- APPLE-SA-2010-03-29-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- [debian-bugs-rc] 20080805 Bug#484305: bicyclerepair: bike.vim imports untrusted python files from cwd (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://svn.pardus.org.tr/pardus/2008/applications/editors/vim/files/official/7.2.045 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://support.apple.com/kb/HT4077 (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2009:047 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- vim-pysyssetargv-privilege-escalation(48275) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=481565 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2009-0316)Record last updated .