Every CVE Search/ Get API key

CVE-2009-0316

Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2...

6.9 MediumFix available

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

2.73%Up 0.6 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
vim
Debian:12
before 2:7.2.025-2
2:7.2.025-2
vim
Debian:13
before 2:7.2.025-2
2:7.2.025-2
vim
Debian:14
before 2:7.2.025-2
2:7.2.025-2
vim
SUSE:OpenStack Cloud 9
From an advisory covering 104 CVEs
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE:OpenStack Cloud Crowbar 9
From an advisory covering 104 CVEs
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 104 CVEs
before 9.0.0814-17.9.1
9.0.0814-17.9.1
vim
SUSE: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
vim
openSUSE:Tumbleweed
before 8.0.130-1.1
8.0.130-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 194 moreShow less
This page doesn't list everything

Left out here: 24 references and the rest of 1 source description. The JSON record has them.

MoveEnter Open