vim: untrusted python modules search path
Published Jan 28, 2009
6.9
MEDIUMCVSS 2.0
EPSS 2.73%
Description
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.
Affected products
No data.
- ≤ 7.2
- 1.0
- 1.22
- 3.0
- 4.0
- 5.0
- 5.1
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
- 5.7
- 5.8
- 6.0
- 6.1
- 6.2
- 6.3
- 6.4
- 7.0
- 7.1
No data.
Red Hat Enterprise Linux 4
vim
Not affected
Red Hat Enterprise Linux 5
vim
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | vim | Not affected | n/a |
| Red Hat Enterprise Linux 5 | vim | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect vim as shipped in Red Hat Enterprise Linux 3 and 4. This issue is not planned to be fixed in vim packages in Red Hat Enterprise Linux 5.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.73% (0.02734) | 85.61th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.84% (0.02845) | 84.80th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.25% (0.00247) | 46.10th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.17% (0.02172) | 80.27th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.17% (0.02172) | 78.34th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.17% (0.02172) | 57.15th | v2 (v2022.01.01) |
No CWE recorded.
References (14)
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484305 x_refsource_MISC
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493937 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html vendor-advisoryx_refsource_APPLE
- http://support.apple.com/kb/HT4077 x_refsource_CONFIRM
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:047 vendor-advisoryx_refsource_MANDRIVA
- http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2009/01/26/2 mailing-listx_refsource_MLIST
- http://www.securityfocus.com/bid/33447 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2009-0316 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=481565 x_refsource_CONFIRMIssue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/48275 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2009-0316
- https://svn.pardus.org.tr/pardus/2008/applications/editors/vim/files/official/7.2.045 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2009-0316
Change history (0)
No recorded changes yet.