CVE-2009-0316 json
Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute arbitrar…
published 2009-01-28 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-0320
- cvss
- 6.9
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- vim Debian 14, Debian 13, Debian 12 2:7.2.025-2
debian advisories DEBIAN-CVE-2009-0316
- vim SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 9.0.0814-17.9.1
suse advisories SUSE-SU-2022:4619-1
- vim openSUSE Tumbleweed 8.0.130-1.1
opensuse advisories openSUSE-SU-2024:10234-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-0316 updated
vim: untrusted python modules search path
-
Red Hat Enterprise Linux 5 vimaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 4 vimnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.73% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
References
-
lists.apple.com
/archives/security-announce/2010//Mar/msg00001.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:047
vendor-advisory
- bugs.debian.org /cgi-bin/bugreport.cgi?bug=493937
- bugs.debian.org /cgi-bin/bugreport.cgi?bug=484305
-
securityfocus.com
/bid/33447
vdb-entry
-
openwall.com
/lists/oss-security/2009/01/26/2
mailing-list
-
nabble.com
/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html
mailing-list
- svn.pardus.org.tr /pardus/2008/applications/editors/vim/files/official/7.2.045
- support.apple.com /kb/HT4077
-
exchange.xforce.ibmcloud.com
/vulnerabilities/48275
vdb-entry
- bugzilla.redhat.com /show_bug.cgi?id=481565
Sources
- CVE List CVE-2009-0316
- NVD CVE-2009-0316
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.