CVE-2009-0316

Summary

CVECVE-2009-0316
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2009-01-28 11:30:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionUntrusted 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.

Risk And Classification

Primary CVSS: v2.0 6.9 from [email protected]

AV:L/AC:M/Au:N/C:C/I:C/A:C

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Vim Vim 1.0 All All All
Application Vim Vim 1.22 All All All
Application Vim Vim 3.0 All All All
Application Vim Vim 4.0 All All All
Application Vim Vim 5.0 All All All
Application Vim Vim 5.1 All All All
Application Vim Vim 5.2 All All All
Application Vim Vim 5.3 All All All
Application Vim Vim 5.4 All All All
Application Vim Vim 5.5 All All All
Application Vim Vim 5.6 All All All
Application Vim Vim 5.7 All All All
Application Vim Vim 5.8 All All All
Application Vim Vim 6.0 All All All
Application Vim Vim 6.1 All All All
Application Vim Vim 6.2 All All All
Application Vim Vim 6.3 All All All
Application Vim Vim 6.4 All All All
Application Vim Vim 7.0 All All All
Application Vim Vim 7.1 All All All
Application Vim Vim All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Old Nabble - debian-bugs-rc - Bug#484305: bicyclerepair: bike.vim imports untrusted python files from cwd af854a3a-2127-422b-91ae-364da2661108 www.nabble.com
#493937 - bicyclerepair: bike.vim imports untrusted python files from cwd - Debian Bug report logs af854a3a-2127-422b-91ae-364da2661108 bugs.debian.org
Support / Security / Advisories / / MDVSA-2009:047 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Vim 'PySys_SetArgv' Remote Command Execution Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Bug 481565 – CVE-2009-0316 vim: untrusted python modules search path af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
APPLE-SA-2010-03-29-1 Security Update 2010-002 / Mac OS X v10.6.3 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
svn.pardus.org.tr/pardus/2008/applications/editors/vim/files/official/7.2.045 af854a3a-2127-422b-91ae-364da2661108 svn.pardus.org.tr
oss-security - CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric) af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
#484305 - bicyclerepair: bike.vim imports untrusted python files from cwd - Debian Bug report logs af854a3a-2127-422b-91ae-364da2661108 bugs.debian.org
About the security content of Security Update 2010-002 / Mac OS X v10.6.3 af854a3a-2127-422b-91ae-364da2661108 support.apple.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 753066 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4619-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report