CVE-2009-0316
Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2...
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.
Exploit likelihood
What each source reports
NVD Score used
6.9
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.
- Record
CVE-2009-0316- CVSS 2.0
- 6.9 Medium
AV:L/AC:M/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-0316- Updated
- 2026-11-02
EUVDEUVD-2009-0320 No score
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.
- Record
EUVD-2009-0320- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x433-429v-9473 No score
Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2...
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.
- Record
GHSA-x433-429v-9473- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2009-0316- Updated
- 2026-11-02
OSVDEBIAN-CVE-2009-0316 No score
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.
- Record
DEBIAN-CVE-2009-0316- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10234-1 No score
gvim-8.0.130-1.1 on GA media
These are all security issues fixed in the gvim-8.0.130-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10234-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:4619-1 No score
Security update for vim
This update for vim fixes the following issues:
Updated to version 9.0.0814:
- Fixing bsc#1192478 VUL-1: CVE-2021-3928: vim: vim is vulnerable to Stack-based Buffer Overflow
- Fixing bsc#1203508 VUL-0: CVE-2022-3234: vim: Heap-based Buffer Overflow prior to 9.0.0483.
- Fixing bsc#1203509 VUL-1: CVE-2022-3235: vim: Use After Free in GitHub prior to 9.0.0490.
- Fixing bsc#1203820 VUL-0: CVE-2022-3324: vim: Stack-based Buffer Overflow in prior to 9.0.0598.
- Fixing bsc#1204779 VUL-0: CVE-2022-3705: vim: use after free in function qf_update_buffer of the file quickfix.c
- Fixing bsc#1203152 VUL-1: CVE-2022-2982: vim: use after free in qf_fill_buffer()
- Fixing bsc#1203796 VUL-1: CVE-2022-3296: vim: stack out of bounds read in ex_finally() in ex_eval.c
- Fixing bsc#1203797 VUL-1: CVE-2022-3297: vim: use-after-free in process_next_cpt_value() at insexpand.c
- Fixing bsc#1203110 VUL-1: CVE-2022-3099: vim: Use After Free in ex_docmd.c
- Fixing bsc#1203194 VUL-1: CVE-2022-3134: vim: use after free in do_tag()
- Fixing bsc#1203272 VUL-1: CVE-2022-3153: vim: NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0404.
- Fixing bsc#1203799 VUL-1: CVE-2022-3278: vim: NULL pointer dereference in eval_next_non_blank() in eval.c
- Fixing bsc#1203924 VUL-1: CVE-2022-3352: vim: vim: use after free
- Fixing bsc#1203155 VUL-1: CVE-2022-2980: vim: null pointer dereference in do_mouse()
- Fixing bsc#1202962 VUL-1: CVE-2022-3037: vim: Use After Free in vim prior to 9.0.0321
- Fixing bsc#1200884 Vim: Error on startup
- Fixing bsc#1200902 VUL-0: CVE-2022-2183: vim: Out-of-bounds Read through get_lisp_indent() Mon 13:32
- Fixing bsc#1200903 VUL-0: CVE-2022-2182: vim: Heap-based Buffer Overflow through parse_cmd_address() Tue 08:37
- Fixing bsc#1200904 VUL-0: CVE-2022-2175: vim: Buffer Over-read through cmdline_insert_reg() Tue 08:37
- Fixing bsc#1201249 VUL-0: CVE-2022-2304: vim: stack buffer overflow in spell_dump_compl()
- Fixing bsc#1201356 VUL-1: CVE-2022-2343: vim: Heap-based Buffer Overflow in GitHub repository vim prior to 9.0.0044
- Fixing bsc#1201359 VUL-1: CVE-2022-2344: vim: Another Heap-based Buffer Overflow vim prior to 9.0.0045
- Fixing bsc#1201363 VUL-1: CVE-2022-2345: vim: Use After Free in GitHub repository vim prior to 9.0.0046.
- Fixing bsc#1201620 vim: SLE-15-SP4-Full-x86_64-GM-Media1 and vim-plugin-tlib-1.27-bp154.2.18.noarch issue
- Fixing bsc#1202414 VUL-1: CVE-2022-2819: vim: Heap-based Buffer Overflow in compile_lock_unlock()
- Fixing bsc#1202552 VUL-1: CVE-2022-2874: vim: NULL Pointer Dereference in generate_loadvar()
- Fixing bsc#1200270 VUL-1: CVE-2022-1968: vim: use after free in utf_ptr2char
- Fixing bsc#1200697 VUL-1: CVE-2022-2124: vim: out of bounds read in current_quote()
- Fixing bsc#1200698 VUL-1: CVE-2022-2125: vim: out of bounds read in get_lisp_indent()
- Fixing bsc#1200700 VUL-1: CVE-2022-2126: vim: out of bounds read in suggest_trie_walk()
- Fixing bsc#1200701 VUL-1: CVE-2022-2129: vim: out of bounds write in vim_regsub_both()
- Fixing bsc#1200732 VUL-1: CVE-2022-1720: vim: out of bounds read in grab_file_name()
- Fixing bsc#1201132 VUL-1: CVE-2022-2264: vim: out of bounds read in inc()
- Fixing bsc#1201133 VUL-1: CVE-2022-2284: vim: out of bounds read in utfc_ptr2len()
- Fixing bsc#1201134 VUL-1: CVE-2022-2285: vim: negative size passed to memmove() due to integer overflow
- Fixing bsc#1201135 VUL-1: CVE-2022-2286: vim: out of bounds read in ins_bytes()
- Fixing bsc#1201136 VUL-1: CVE-2022-2287: vim: out of bounds read in suggest_trie_walk()
- Fixing bsc#1201150 VUL-1: CVE-2022-2231: vim: null pointer dereference skipwhite()
- Fixing bsc#1201151 VUL-1: CVE-2022-2210: vim: out of bounds read in ml_append_int()
- Fixing bsc#1201152 VUL-1: CVE-2022-2208: vim: null pointer dereference in diff_check()
- Fixing bsc#1201153 VUL-1: CVE-2022-2207: vim: out of bounds read in ins_bs()
- Fixing bsc#1201154 VUL-1:…
- Record
SUSE-SU-2022:4619-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vimDebian:12 |
before 2:7.2.025-2 | 2:7.2.025-2 |
vimDebian:13 |
before 2:7.2.025-2 | 2:7.2.025-2 |
vimDebian:14 |
before 2:7.2.025-2 | 2:7.2.025-2 |
vimSUSE:OpenStack Cloud 9 From an advisory covering 104 CVEs |
before 9.0.0814-17.9.1 | 9.0.0814-17.9.1 |
vimSUSE:OpenStack Cloud Crowbar 9 From an advisory covering 104 CVEs |
before 9.0.0814-17.9.1 | 9.0.0814-17.9.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 12 SP4 From an advisory covering 104 CVEs |
before 9.0.0814-17.9.1 | 9.0.0814-17.9.1 |
vimSUSE:Linux Enterprise Server 12 SP2-BCL From an advisory covering 104 CVEs |
before 9.0.0814-17.9.1 | 9.0.0814-17.9.1 |
vimSUSE:Linux Enterprise Server 12 SP3-BCL From an advisory covering 104 CVEs |
before 9.0.0814-17.9.1 | 9.0.0814-17.9.1 |
vimSUSE:Linux Enterprise Server 12 SP4-LTSS From an advisory covering 104 CVEs |
before 9.0.0814-17.9.1 | 9.0.0814-17.9.1 |
vimSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 104 CVEs |
before 9.0.0814-17.9.1 | 9.0.0814-17.9.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 12 SP5 From an advisory covering 104 CVEs |
before 9.0.0814-17.9.1 | 9.0.0814-17.9.1 |
vimopenSUSE:Tumbleweed |
before 8.0.130-1.1 | 8.0.130-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-0316 is a medium vulnerability (CVSS 6.9) in Vim, published January 28, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.73%, the 86th percentile. Fixed in vim 2:7.2.025-2.
References
bugs.debian.org/cgi-bin/bugreport.cgi?bug=493937
bugs.debian.org/cgi-bin/bugreport.cgi?bug=484305
securityfocus.com/bid/33447
openwall.com/lists/oss-security/2009/01/26/2
lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html
Show 194 moreShow less
svn.pardus.org.tr/pardus/2008/applications/editors/vim/files/official/7.2.045
support.apple.com/kb/HT4077
mandriva.com/security/advisories?name=MDVSA-2009:047
exchange.xforce.ibmcloud.com/vulnerabilities/48275
bugzilla.redhat.com/show_bug.cgi?id=481565
nvd.nist.gov/vuln/detail/CVE-2009-0316
github.com/advisories/GHSA-x433-429v-9473
security-tracker.debian.org/tracker/CVE-2009-0316
suse.com/support/update/announcement/2022/suse-su-20224619-1
bugzilla.suse.com/1070955
bugzilla.suse.com/1173256
bugzilla.suse.com/1174564
bugzilla.suse.com/1176549
bugzilla.suse.com/1182324
bugzilla.suse.com/1190533
bugzilla.suse.com/1190570
bugzilla.suse.com/1191770
bugzilla.suse.com/1191893
bugzilla.suse.com/1192167
bugzilla.suse.com/1192478
bugzilla.suse.com/1192481
bugzilla.suse.com/1192902
bugzilla.suse.com/1192903
bugzilla.suse.com/1192904
bugzilla.suse.com/1193294
bugzilla.suse.com/1193298
bugzilla.suse.com/1193466
bugzilla.suse.com/1193905
bugzilla.suse.com/1194093
bugzilla.suse.com/1194216
bugzilla.suse.com/1194217
bugzilla.suse.com/1194388
bugzilla.suse.com/1194556
bugzilla.suse.com/1194872
bugzilla.suse.com/1194885
bugzilla.suse.com/1195004
bugzilla.suse.com/1195066
bugzilla.suse.com/1195126
bugzilla.suse.com/1195202
bugzilla.suse.com/1195203
bugzilla.suse.com/1195332
bugzilla.suse.com/1195354
bugzilla.suse.com/1195356
bugzilla.suse.com/1196361
bugzilla.suse.com/1198596
bugzilla.suse.com/1198748
bugzilla.suse.com/1199331
bugzilla.suse.com/1199333
bugzilla.suse.com/1199334
bugzilla.suse.com/1199651
bugzilla.suse.com/1199655
bugzilla.suse.com/1199693
bugzilla.suse.com/1199745
bugzilla.suse.com/1199747
bugzilla.suse.com/1199936
bugzilla.suse.com/1200010
bugzilla.suse.com/1200011
bugzilla.suse.com/1200012
bugzilla.suse.com/1200270
bugzilla.suse.com/1200697
bugzilla.suse.com/1200698
bugzilla.suse.com/1200700
bugzilla.suse.com/1200701
bugzilla.suse.com/1200732
bugzilla.suse.com/1200884
bugzilla.suse.com/1200902
bugzilla.suse.com/1200903
bugzilla.suse.com/1200904
bugzilla.suse.com/1201132
bugzilla.suse.com/1201133
bugzilla.suse.com/1201134
bugzilla.suse.com/1201135
bugzilla.suse.com/1201136
bugzilla.suse.com/1201150
bugzilla.suse.com/1201151
bugzilla.suse.com/1201152
bugzilla.suse.com/1201153
bugzilla.suse.com/1201154
bugzilla.suse.com/1201155
bugzilla.suse.com/1201249
bugzilla.suse.com/1201356
bugzilla.suse.com/1201359
bugzilla.suse.com/1201363
bugzilla.suse.com/1201620
bugzilla.suse.com/1201863
bugzilla.suse.com/1202046
bugzilla.suse.com/1202049
bugzilla.suse.com/1202050
bugzilla.suse.com/1202051
bugzilla.suse.com/1202414
bugzilla.suse.com/1202420
bugzilla.suse.com/1202421
bugzilla.suse.com/1202511
bugzilla.suse.com/1202512
bugzilla.suse.com/1202515
bugzilla.suse.com/1202552
bugzilla.suse.com/1202599
bugzilla.suse.com/1202687
bugzilla.suse.com/1202689
bugzilla.suse.com/1202862
bugzilla.suse.com/1202962
bugzilla.suse.com/1203110
suse.com/security/cve/CVE-2009-0316
suse.com/security/cve/CVE-2016-1248
suse.com/security/cve/CVE-2017-17087
suse.com/security/cve/CVE-2017-5953
suse.com/security/cve/CVE-2017-6349
suse.com/security/cve/CVE-2017-6350
suse.com/security/cve/CVE-2021-3778
suse.com/security/cve/CVE-2021-3796
suse.com/security/cve/CVE-2021-3872
suse.com/security/cve/CVE-2021-3875
suse.com/security/cve/CVE-2021-3903
suse.com/security/cve/CVE-2021-3927
suse.com/security/cve/CVE-2021-3928
suse.com/security/cve/CVE-2021-3968
suse.com/security/cve/CVE-2021-3973
suse.com/security/cve/CVE-2021-3974
suse.com/security/cve/CVE-2021-3984
suse.com/security/cve/CVE-2021-4019
suse.com/security/cve/CVE-2021-4069
suse.com/security/cve/CVE-2021-4136
suse.com/security/cve/CVE-2021-4166
suse.com/security/cve/CVE-2021-4192
suse.com/security/cve/CVE-2021-4193
suse.com/security/cve/CVE-2021-46059
suse.com/security/cve/CVE-2022-0128
suse.com/security/cve/CVE-2022-0213
suse.com/security/cve/CVE-2022-0261
suse.com/security/cve/CVE-2022-0318
suse.com/security/cve/CVE-2022-0319
suse.com/security/cve/CVE-2022-0351
suse.com/security/cve/CVE-2022-0359
suse.com/security/cve/CVE-2022-0361
suse.com/security/cve/CVE-2022-0392
suse.com/security/cve/CVE-2022-0407
suse.com/security/cve/CVE-2022-0413
suse.com/security/cve/CVE-2022-0696
suse.com/security/cve/CVE-2022-1381
suse.com/security/cve/CVE-2022-1420
suse.com/security/cve/CVE-2022-1616
suse.com/security/cve/CVE-2022-1619
suse.com/security/cve/CVE-2022-1620
suse.com/security/cve/CVE-2022-1720
suse.com/security/cve/CVE-2022-1733
suse.com/security/cve/CVE-2022-1735
suse.com/security/cve/CVE-2022-1771
suse.com/security/cve/CVE-2022-1785
suse.com/security/cve/CVE-2022-1796
suse.com/security/cve/CVE-2022-1851
suse.com/security/cve/CVE-2022-1897
suse.com/security/cve/CVE-2022-1898
suse.com/security/cve/CVE-2022-1927
suse.com/security/cve/CVE-2022-1968
suse.com/security/cve/CVE-2022-2124
suse.com/security/cve/CVE-2022-2125
suse.com/security/cve/CVE-2022-2126
suse.com/security/cve/CVE-2022-2129
suse.com/security/cve/CVE-2022-2175
suse.com/security/cve/CVE-2022-2182
suse.com/security/cve/CVE-2022-2183
suse.com/security/cve/CVE-2022-2206
suse.com/security/cve/CVE-2022-2207
suse.com/security/cve/CVE-2022-2208
suse.com/security/cve/CVE-2022-2210
suse.com/security/cve/CVE-2022-2231
suse.com/security/cve/CVE-2022-2257
suse.com/security/cve/CVE-2022-2264
suse.com/security/cve/CVE-2022-2284
suse.com/security/cve/CVE-2022-2285
suse.com/security/cve/CVE-2022-2286
suse.com/security/cve/CVE-2022-2287
suse.com/security/cve/CVE-2022-2304
suse.com/security/cve/CVE-2022-2343
suse.com/security/cve/CVE-2022-2344
suse.com/security/cve/CVE-2022-2345
suse.com/security/cve/CVE-2022-2522
suse.com/security/cve/CVE-2022-2571
suse.com/security/cve/CVE-2022-2580
suse.com/security/cve/CVE-2022-2581
suse.com/security/cve/CVE-2022-2598
suse.com/security/cve/CVE-2022-2816
suse.com/security/cve/CVE-2022-2817
suse.com/security/cve/CVE-2022-2819
suse.com/security/cve/CVE-2022-2845
suse.com/security/cve/CVE-2022-2849
suse.com/security/cve/CVE-2022-2862
suse.com/security/cve/CVE-2022-2874
suse.com/security/cve/CVE-2022-2889
suse.com/security/cve/CVE-2022-2923
suse.com/security/cve/CVE-2022-2946
suse.com/security/cve/CVE-2022-2980
suse.com/security/cve/CVE-2022-2982
suse.com/security/cve/CVE-2022-3016
Left out here: 24 references and the rest of 1 source description. The JSON record has them.