CVE-2023-4736
Untrusted Search Path in vim/vim
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.8
Untrusted Search Path in vim/vim
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
- Record
CVE-2023-4736- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-426
- Updated
- 2026-11-02
EUVDEUVD-2023-54584
7.8
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
- Record
EUVD-2023-54584- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-93j8-r599-v94c
7.8
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
- Record
GHSA-93j8-r599-v94c- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-426
- Updated
- 2026-11-02
NVD
7.8
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
- Record
CVE-2023-4736- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-426
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-4736
7.8
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
- Record
ALPINE-CVE-2023-4736- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVAZL-28629
7.8
CVE-2023-4736 affecting package vim for versions less than 9.0.1897-1
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
- Record
AZL-28629- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVBELL-CVE-2023-4736
7.8
- Record
BELL-CVE-2023-4736- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
Untrusted Search Path in vim/vim
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
- Record
CVE-2023-4736- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-426
- Updated
- 2026-11-02
OSVOESA-2023-1653
7.8
vim security update
Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.
Security Fix(es):
Use After Free in GitHub repository vim/vim prior to 9.0.1840.(CVE-2023-4733)
Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1846.(CVE-2023-4734)
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.(CVE-2023-4735)
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.(CVE-2023-4736)
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1848.(CVE-2023-4738)
Use After Free in GitHub repository vim/vim prior to 9.0.1857.(CVE-2023-4750)
Use After Free in GitHub repository vim/vim prior to 9.0.1858.(CVE-2023-4752)
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873.(CVE-2023-4781)
- Record
OESA-2023-1653- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2023-1695319372 No score
vim: Fix of CVE-2023-4736
- CVE-2023-4736: improve search path to avoid run an executable in untrusted dir
- Record
CLSA-2023-1695319372- Updated
- 2026-11-02
OSVCLSA-2023-1695319769 No score
vim: Fix of CVE-2023-4736
- CVE-2023-4736: improve search path to avoid run an executable in untrusted dir
- Record
CLSA-2023-1695319769- Updated
- 2026-11-02
OSVCLSA-2023-1695320045 No score
Fix CVE(s): CVE-2023-4736
- SECURITY UPDATE: An executable file with some well-known name like zip,
gzip, and so on can be started from a current directory during some
plugin is opening apropriate file that has a one of the extensions .zip,
.gzip, .rb, and etc. This issue is effective only if the PATH
environment variable has a ./ (dot) as one element in the path list
- debian/patches/CVE-2023-4736.patch: avoid starting executable from a current directory for some plugins
- CVE-2023-4736
- Record
CLSA-2023-1695320045- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vimAlpine:v3.18 |
before 9.0.2073-r0 | 9.0.2073-r0 |
vimAlpine:v3.19 |
before 9.0.1888-r0 | 9.0.1888-r0 |
vimAlpine:v3.20 |
before 9.0.1888-r0 | 9.0.1888-r0 |
vimAlpine:v3.21 |
before 9.0.1888-r0 | 9.0.1888-r0 |
vimAlpine:v3.22 |
before 9.0.1888-r0 | 9.0.1888-r0 |
vimAlpine:v3.23 |
before 9.0.1888-r0 | 9.0.1888-r0 |
vimAlpine:v3.24 |
before 9.0.1888-r0 | 9.0.1888-r0 |
vimAzure Linux:2 |
before 9.0.1897-1 | 9.0.1897-1 |
vimAlpaquita:23 |
9.0.0999-r0 up to 9.1.0936-r0 | 9.1.0936-r0 |
vimAlpaquita:stream |
9.0.1676-r0 up to 9.0.2127-r0 | 9.0.2127-r0 |
Show 31 moreShow less
| Package | Affected | Fixed |
|---|---|---|
vim-X11TuxCare:CentOS:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vim-commonTuxCare:CentOS:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vim-enhancedTuxCare:CentOS:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vim-filesystemTuxCare:CentOS:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vim-minimalTuxCare:CentOS:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vim-X11TuxCare:OracleLinux:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vim-commonTuxCare:OracleLinux:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vim-enhancedTuxCare:OracleLinux:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vim-filesystemTuxCare:OracleLinux:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vim-minimalTuxCare:OracleLinux:6 |
before 3:7.4.629-5.2.el6.tuxcare.els44 | 3:7.4.629-5.2.el6.tuxcare.els44 |
vimTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-athenaTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-athena-py2TuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-commonTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-docTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-gnomeTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-gnome-py2TuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-gtkTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-gtk-py2TuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-gtk3TuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-gtk3-py2TuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-gui-commonTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-noxTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-nox-py2TuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-runtimeTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vim-tinyTuxCare:Ubuntu:16.04 |
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46 | 3:7.4.1689-3ubuntu1.5+tuxcare.els46 |
vimopenEuler:20.03-LTS-SP1 From an advisory covering 8 CVEs |
before 9.0-16.oe1 | 9.0-16.oe1 |
vimopenEuler:20.03-LTS-SP3 From an advisory covering 8 CVEs |
before 9.0-16.oe1 | 9.0-16.oe1 |
vimopenEuler:22.03-LTS From an advisory covering 8 CVEs |
before 9.0-17.oe2203sp2 | 9.0-17.oe2203sp2 |
vimopenEuler:22.03-LTS-SP1 From an advisory covering 8 CVEs |
before 9.0-17.oe2203sp1 | 9.0-17.oe2203sp1 |
vimopenEuler:22.03-LTS-SP2 From an advisory covering 8 CVEs |
before 9.0-17.oe2203sp2 | 9.0-17.oe2203sp2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-4736 is a high vulnerability (CVSS 7.8) in Vim, published September 2, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.51%, the 43rd percentile. Fixed in vim 9.0.2073-r0.
References
huntr.dev/bounties/e1ce0995-4df4-4dec-9cd7-3136ac3e8e71
github.com/vim/vim/commit/816fbcc262687b81fc46f82f7bbeb1453addfe0c
support.apple.com/kb/HT213984
seclists.org/fulldisclosure/2023/Oct/24
nvd.nist.gov/vuln/detail/CVE-2023-4736
github.com/advisories/GHSA-93j8-r599-v94c
Show 14 moreShow less
security.alpinelinux.org/vuln/CVE-2023-4736
docs.bell-sw.com/security/cves/CVE-2023-4736
errata.cloudlinux.com/els6/CLSA-2023-1695319372.html
errata.cloudlinux.com/ol6/CLSA-2023-1695319769.html
errata.cloudlinux.com/ubuntu16_04-els/CLSA-2023-1695320045
github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4736.json
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1653
nvd.nist.gov/vuln/detail/CVE-2023-4733
nvd.nist.gov/vuln/detail/CVE-2023-4734
nvd.nist.gov/vuln/detail/CVE-2023-4735
nvd.nist.gov/vuln/detail/CVE-2023-4738
nvd.nist.gov/vuln/detail/CVE-2023-4750
nvd.nist.gov/vuln/detail/CVE-2023-4752
nvd.nist.gov/vuln/detail/CVE-2023-4781