CVE-2023-0051
Heap-based Buffer Overflow in vim/vim
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- 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.3
Heap-based Buffer Overflow in vim/vim
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
- Record
CVE-2023-0051- CVSS 3.0
- 7.3 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2023-12154
7.3
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
- Record
EUVD-2023-12154- CVSS 3.0
- 7.3 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-7g4w-jr36-jfhg
7.8
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
- Record
GHSA-7g4w-jr36-jfhg- 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 - Weakness
- CWE-122
- Updated
- 2026-11-02
NVD
7.8
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
- Record
CVE-2023-0051- 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.3 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-0051
7.8
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
- Record
ALPINE-CVE-2023-0051- 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-12939
7.8
CVE-2023-0051 affecting package vim for versions less than 9.0.1145-1
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
- Record
AZL-12939- 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 8 moreShow less
OSVBELL-CVE-2023-0051
7.8
- Record
BELL-CVE-2023-0051- 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.3
Heap-based Buffer Overflow in vim/vim
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
- Record
CVE-2023-0051- CVSS 3.0
- 7.3 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-0051
7.8
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
- Record
DEBIAN-CVE-2023-0051- 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
OSVOESA-2023-1026
7.3
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):
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.1143.(CVE-2023-0049)
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.(CVE-2023-0051)
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1145.(CVE-2023-0054)
- Record
OESA-2023-1026- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-0051
7.8
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
- Record
UBUNTU-CVE-2023-0051- 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.3 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2023:0209-1 No score
Security update for vim
This update for vim fixes the following issues:
- Updated to version 9.0.1234:
- CVE-2023-0433: Fixed an out of bounds memory access that could cause a crash (bsc#1207396).
- CVE-2023-0288: Fixed an out of bounds memory access that could cause a crash (bsc#1207162).
- CVE-2023-0054: Fixed an out of bounds memory write that could cause a crash or memory corruption (bsc#1206868).
- CVE-2023-0051: Fixed an out of bounds memory access that could cause a crash (bsc#1206867).
- CVE-2023-0049: Fixed an out of bounds memory access that could cause a crash (bsc#1206866).
- CVE-2022-3491: Fixed an out of bounds memory access that could cause a crash (bsc#1206028).
- CVE-2022-3520: Fixed an out of bounds memory access that could cause a crash (bsc#1206071).
- CVE-2022-3591: Fixed a use-after-free issue that could cause memory corruption or undefined behavior (bsc#1206072).
- CVE-2022-4292: Fixed a use-after-free issue that could cause memory corruption or undefined behavior (bsc#1206075).
- CVE-2022-4293: Fixed a floating point exception that could cause a crash (bsc#1206077).
- CVE-2022-4141: Fixed an out of bounds memory write that could cause a crash or memory corruption (bsc#1205797).
- CVE-2022-3705: Fixed an use-after-free issue that could cause a crash or memory corruption (bsc#1204779).
- Record
SUSE-SU-2023:0209-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0211-1 No score
Security update for vim
This update for vim fixes the following issues:
- Updated to version 9.0.1234:
- CVE-2023-0433: Fixed an out of bounds memory access that could cause a crash (bsc#1207396).
- CVE-2023-0288: Fixed an out of bounds memory access that could cause a crash (bsc#1207162).
- CVE-2023-0054: Fixed an out of bounds memory write that could cause a crash or memory corruption (bsc#1206868).
- CVE-2023-0051: Fixed an out of bounds memory access that could cause a crash (bsc#1206867).
- CVE-2023-0049: Fixed an out of bounds memory access that could cause a crash (bsc#1206866).
- Record
SUSE-SU-2023:0211-1- Updated
- 2026-11-02
OSVUSN-5963-1 No score
vim vulnerabilities
It was discovered that Vim was not properly performing memory management operations. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2022-47024, CVE-2023-0049, CVE-2023-0054, CVE-2023-0288, CVE-2023-0433)
It was discovered that Vim was not properly performing memory management
operations. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. This issue only affected Ubuntu 22.04
LTS, and Ubuntu 22.10. (CVE-2023-0051)
It was discovered that Vim was not properly performing memory management
operations. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. (CVE-2023-1170, CVE-2023-1175)
It was discovered that Vim was not properly performing memory management
operations. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. This issue only affected Ubuntu 20.04
LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2023-1264)
- Record
USN-5963-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vimAlpine:v3.18 |
before 9.0.1167-r0 | 9.0.1167-r0 |
vimAlpine:v3.19 |
before 9.0.1167-r0 | 9.0.1167-r0 |
vimAlpine:v3.20 |
before 9.0.1167-r0 | 9.0.1167-r0 |
vimAlpine:v3.21 |
before 9.0.1167-r0 | 9.0.1167-r0 |
vimAlpine:v3.22 |
before 9.0.1167-r0 | 9.0.1167-r0 |
vimAlpine:v3.23 |
before 9.0.1167-r0 | 9.0.1167-r0 |
vimAlpine:v3.24 |
before 9.0.1167-r0 | 9.0.1167-r0 |
vimAzure Linux:2 |
before 9.0.1145-1 | 9.0.1145-1 |
vimAlpaquita:23 |
9.0.0820-r2 up to 9.1.0936-r0 | 9.1.0936-r0 |
vimDebian:12 |
before 2:9.0.1378-1 | 2:9.0.1378-1 |
Show 28 moreShow less
| Package | Affected | Fixed |
|---|---|---|
vimDebian:13 |
before 2:9.0.1378-1 | 2:9.0.1378-1 |
vimDebian:14 |
before 2:9.0.1378-1 | 2:9.0.1378-1 |
vimopenEuler:20.03-LTS-SP1 From an advisory covering 3 CVEs |
before 9.0-6.oe1 | 9.0-6.oe1 |
vimopenEuler:20.03-LTS-SP3 From an advisory covering 3 CVEs |
before 9.0-6.oe1 | 9.0-6.oe1 |
vimopenEuler:22.03-LTS From an advisory covering 3 CVEs |
before 9.0-7.oe2203sp1 | 9.0-7.oe2203sp1 |
vimopenEuler:22.03-LTS-SP1 From an advisory covering 3 CVEs |
before 9.0-7.oe2203sp1 | 9.0-7.oe2203sp1 |
vimSUSE:OpenStack Cloud 9 From an advisory covering 12 CVEs |
before 9.0.1234-17.12.1 | 9.0.1234-17.12.1 |
vimSUSE:OpenStack Cloud Crowbar 9 From an advisory covering 12 CVEs |
before 9.0.1234-17.12.1 | 9.0.1234-17.12.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 12 SP4 From an advisory covering 12 CVEs |
before 9.0.1234-17.12.1 | 9.0.1234-17.12.1 |
vimSUSE:Linux Enterprise Server 12 SP2-BCL From an advisory covering 12 CVEs |
before 9.0.1234-17.12.1 | 9.0.1234-17.12.1 |
vimSUSE:Linux Enterprise Server 12 SP4-LTSS From an advisory covering 12 CVEs |
before 9.0.1234-17.12.1 | 9.0.1234-17.12.1 |
vimSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 12 CVEs |
before 9.0.1234-17.12.1 | 9.0.1234-17.12.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 12 SP5 From an advisory covering 12 CVEs |
before 9.0.1234-17.12.1 | 9.0.1234-17.12.1 |
vimSUSE:Linux Enterprise Micro 5.3 From an advisory covering 5 CVEs |
before 9.0.1234-150000.5.34.1 | 9.0.1234-150000.5.34.1 |
vimSUSE:Linux Enterprise Module for Basesystem 15 SP4 From an advisory covering 5 CVEs |
before 9.0.1234-150000.5.34.1 | 9.0.1234-150000.5.34.1 |
vimSUSE:Linux Enterprise Module for Desktop Applications 15 SP4 From an advisory covering 5 CVEs |
before 9.0.1234-150000.5.34.1 | 9.0.1234-150000.5.34.1 |
vimSUSE:Linux Enterprise Real Time 15 SP3 From an advisory covering 5 CVEs |
before 9.0.1234-150000.5.34.1 | 9.0.1234-150000.5.34.1 |
vimSUSE:Linux Enterprise Micro 5.1 From an advisory covering 5 CVEs |
before 9.0.1234-150000.5.34.1 | 9.0.1234-150000.5.34.1 |
vimSUSE:Linux Enterprise Micro 5.2 From an advisory covering 5 CVEs |
before 9.0.1234-150000.5.34.1 | 9.0.1234-150000.5.34.1 |
vimopenSUSE:Leap Micro 5.2 From an advisory covering 5 CVEs |
before 9.0.1234-150000.5.34.1 | 9.0.1234-150000.5.34.1 |
vimopenSUSE:Leap Micro 5.3 From an advisory covering 5 CVEs |
before 9.0.1234-150000.5.34.1 | 9.0.1234-150000.5.34.1 |
vimopenSUSE:Leap 15.4 From an advisory covering 5 CVEs |
before 9.0.1234-150000.5.34.1 | 9.0.1234-150000.5.34.1 |
vimUbuntu:22.04:LTS |
before 2:8.2.3995-1ubuntu2.4, plus listed versions 2:8.2.2434-3ubuntu32:8.2.2434-3ubuntu42:8.2.3565-1ubuntu12:8.2.3565-1ubuntu22:8.2.3565-1ubuntu3 Show 5 moreShow less2:8.2.3565-1ubuntu52:8.2.3995-1ubuntu12:8.2.3995-1ubuntu22:8.2.3995-1ubuntu2.12:8.2.3995-1ubuntu2.3 |
2:8.2.3995-1ubuntu2.4 |
vimUbuntu:Pro:14.04:LTS From an advisory covering 9 CVEs |
before 2:7.4.052-1ubuntu3.1+esm7, plus listed versions 2:7.4.000-1ubuntu22:7.4.052-1ubuntu12:7.4.052-1ubuntu22:7.4.052-1ubuntu32:7.4.052-1ubuntu3.1 Show 5 moreShow less2:7.4.052-1ubuntu3.1+esm12:7.4.052-1ubuntu3.1+esm32:7.4.052-1ubuntu3.1+esm42:7.4.052-1ubuntu3.1+esm52:7.4.052-1ubuntu3.1+esm6 |
2:7.4.052-1ubuntu3.1+esm7 |
vimUbuntu:Pro:16.04:LTS From an advisory covering 9 CVEs |
before 2:7.4.1689-3ubuntu1.5+esm17, plus listed versions 2:7.4.712-2ubuntu42:7.4.826-1ubuntu12:7.4.826-1ubuntu22:7.4.826-1ubuntu32:7.4.963-1ubuntu1 Show 21 moreShow less2:7.4.963-1ubuntu42:7.4.963-1ubuntu52:7.4.1689-3ubuntu12:7.4.1689-3ubuntu1.12:7.4.1689-3ubuntu1.22:7.4.1689-3ubuntu1.32:7.4.1689-3ubuntu1.42:7.4.1689-3ubuntu1.52:7.4.1689-3ubuntu1.5+esm22:7.4.1689-3ubuntu1.5+esm32:7.4.1689-3ubuntu1.5+esm42:7.4.1689-3ubuntu1.5+esm52:7.4.1689-3ubuntu1.5+esm62:7.4.1689-3ubuntu1.5+esm72:7.4.1689-3ubuntu1.5+esm82:7.4.1689-3ubuntu1.5+esm102:7.4.1689-3ubuntu1.5+esm112:7.4.1689-3ubuntu1.5+esm122:7.4.1689-3ubuntu1.5+esm132:7.4.1689-3ubuntu1.5+esm142:7.4.1689-3ubuntu1.5+esm15 |
2:7.4.1689-3ubuntu1.5+esm17 |
vimUbuntu:18.04:LTS From an advisory covering 9 CVEs |
before 2:8.0.1453-1ubuntu1.11, plus listed versions 2:8.0.0197-4ubuntu52:8.0.1144-1ubuntu12:8.0.1401-1ubuntu12:8.0.1401-1ubuntu22:8.0.1401-1ubuntu3 Show 9 moreShow less2:8.0.1453-1ubuntu12:8.0.1453-1ubuntu1.12:8.0.1453-1ubuntu1.32:8.0.1453-1ubuntu1.42:8.0.1453-1ubuntu1.62:8.0.1453-1ubuntu1.72:8.0.1453-1ubuntu1.82:8.0.1453-1ubuntu1.92:8.0.1453-1ubuntu1.10 |
2:8.0.1453-1ubuntu1.11 |
vimUbuntu:20.04:LTS From an advisory covering 9 CVEs |
before 2:8.1.2269-1ubuntu5.12, plus listed versions 2:8.1.0875-5ubuntu22:8.1.0875-5ubuntu32:8.1.0875-5ubuntu42:8.1.2269-1ubuntu12:8.1.2269-1ubuntu4 Show 8 moreShow less2:8.1.2269-1ubuntu52:8.1.2269-1ubuntu5.32:8.1.2269-1ubuntu5.42:8.1.2269-1ubuntu5.62:8.1.2269-1ubuntu5.72:8.1.2269-1ubuntu5.82:8.1.2269-1ubuntu5.92:8.1.2269-1ubuntu5.11 |
2:8.1.2269-1ubuntu5.12 |
vimUbuntu:22.04:LTS From an advisory covering 9 CVEs |
before 2:8.2.3995-1ubuntu2.4, plus listed versions 2:8.2.2434-3ubuntu32:8.2.2434-3ubuntu42:8.2.3565-1ubuntu12:8.2.3565-1ubuntu22:8.2.3565-1ubuntu3 Show 5 moreShow less2:8.2.3565-1ubuntu52:8.2.3995-1ubuntu12:8.2.3995-1ubuntu22:8.2.3995-1ubuntu2.12:8.2.3995-1ubuntu2.3 |
2:8.2.3995-1ubuntu2.4 |
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-0051 is a high vulnerability (CVSS 7.3) in Vim, published January 4, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.54%, the 45th percentile. Fixed in vim 9.0.1167-r0.
References
huntr.dev/bounties/1c8686db-baa6-42dc-ba45-aed322802de9
github.com/vim/vim/commit/c32949b0779106ed5710ae3bffc5053e49083ab4
support.apple.com/kb/HT213670
seclists.org/fulldisclosure/2023/Mar/17
security.gentoo.org/glsa/202305-16
nvd.nist.gov/vuln/detail/CVE-2023-0051
Show 45 moreShow less
github.com/advisories/GHSA-7g4w-jr36-jfhg
security.alpinelinux.org/vuln/CVE-2023-0051
docs.bell-sw.com/security/cves/CVE-2023-0051
github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0051.json
security-tracker.debian.org/tracker/CVE-2023-0051
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1026
nvd.nist.gov/vuln/detail/CVE-2023-0049
nvd.nist.gov/vuln/detail/CVE-2023-0054
suse.com/support/update/announcement/2023/suse-su-20230209-1
bugzilla.suse.com/1204779
bugzilla.suse.com/1205797
bugzilla.suse.com/1206028
bugzilla.suse.com/1206071
bugzilla.suse.com/1206072
bugzilla.suse.com/1206075
bugzilla.suse.com/1206077
bugzilla.suse.com/1206866
bugzilla.suse.com/1206867
bugzilla.suse.com/1206868
bugzilla.suse.com/1207162
bugzilla.suse.com/1207396
suse.com/security/cve/CVE-2022-3491
suse.com/security/cve/CVE-2022-3520
suse.com/security/cve/CVE-2022-3591
suse.com/security/cve/CVE-2022-3705
suse.com/security/cve/CVE-2022-4141
suse.com/security/cve/CVE-2022-4292
suse.com/security/cve/CVE-2022-4293
suse.com/security/cve/CVE-2023-0049
suse.com/security/cve/CVE-2023-0051
suse.com/security/cve/CVE-2023-0054
suse.com/security/cve/CVE-2023-0288
suse.com/security/cve/CVE-2023-0433
suse.com/support/update/announcement/2023/suse-su-20230211-1
ubuntu.com/security/CVE-2023-0051
ubuntu.com/security/notices/USN-5963-1
cve.org/CVERecord?id=CVE-2023-0051
ubuntu.com/security/CVE-2022-47024
ubuntu.com/security/CVE-2023-0049
ubuntu.com/security/CVE-2023-0054
ubuntu.com/security/CVE-2023-0288
ubuntu.com/security/CVE-2023-0433
ubuntu.com/security/CVE-2023-1170
ubuntu.com/security/CVE-2023-1175
ubuntu.com/security/CVE-2023-1264