Skip to content
Fencer Vulns
medium 6.9

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 vim
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 4 vim
    not 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

Sources

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.