Every CVE Search/ Get API key

CVE-2023-4736

Untrusted Search Path in vim/vim

7.8 HighFix available

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

0.51%Up 0.5 points since Sep 3, 2023
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
7.8 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
vim
Alpine:v3.18
before 9.0.2073-r0
9.0.2073-r0
vim
Alpine:v3.19
before 9.0.1888-r0
9.0.1888-r0
vim
Alpine:v3.20
before 9.0.1888-r0
9.0.1888-r0
vim
Alpine:v3.21
before 9.0.1888-r0
9.0.1888-r0
vim
Alpine:v3.22
before 9.0.1888-r0
9.0.1888-r0
vim
Alpine:v3.23
before 9.0.1888-r0
9.0.1888-r0
vim
Alpine:v3.24
before 9.0.1888-r0
9.0.1888-r0
vim
Azure Linux:2
before 9.0.1897-1
9.0.1897-1
vim
Alpaquita:23
9.0.0999-r0 up to 9.1.0936-r0
9.1.0936-r0
vim
Alpaquita:stream
9.0.1676-r0 up to 9.0.2127-r0
9.0.2127-r0
Show 31 moreShow less
Affected packages
PackageAffectedFixed
vim-X11
TuxCare:CentOS:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim-common
TuxCare:CentOS:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim-enhanced
TuxCare:CentOS:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim-filesystem
TuxCare:CentOS:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim-minimal
TuxCare:CentOS:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim-X11
TuxCare:OracleLinux:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim-common
TuxCare:OracleLinux:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim-enhanced
TuxCare:OracleLinux:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim-filesystem
TuxCare:OracleLinux:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim-minimal
TuxCare:OracleLinux:6
before 3:7.4.629-5.2.el6.tuxcare.els44
3:7.4.629-5.2.el6.tuxcare.els44
vim
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-athena
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-athena-py2
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-common
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-doc
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-gnome
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-gnome-py2
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-gtk
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-gtk-py2
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-gtk3
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-gtk3-py2
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-gui-common
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-nox
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-nox-py2
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-runtime
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim-tiny
TuxCare:Ubuntu:16.04
before 3:7.4.1689-3ubuntu1.5+tuxcare.els46
3:7.4.1689-3ubuntu1.5+tuxcare.els46
vim
openEuler:20.03-LTS-SP1
From an advisory covering 8 CVEs
before 9.0-16.oe1
9.0-16.oe1
vim
openEuler:20.03-LTS-SP3
From an advisory covering 8 CVEs
before 9.0-16.oe1
9.0-16.oe1
vim
openEuler:22.03-LTS
From an advisory covering 8 CVEs
before 9.0-17.oe2203sp2
9.0-17.oe2203sp2
vim
openEuler:22.03-LTS-SP1
From an advisory covering 8 CVEs
before 9.0-17.oe2203sp1
9.0-17.oe2203sp1
vim
openEuler:22.03-LTS-SP2
From an advisory covering 8 CVEs
before 9.0-17.oe2203sp2
9.0-17.oe2203sp2

History

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

Show 14 moreShow less
MoveEnter Open