CVE-2023-2426
Use of Out-of-range Pointer Offset in vim/vim
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.8
Use of Out-of-range Pointer Offset in vim/vim
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
- Record
CVE-2023-2426- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-823
- Updated
- 2026-11-02
EUVDEUVD-2023-33915
6.8
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
- Record
EUVD-2023-33915- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-732j-vmpr-mg9v
6.8
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
- Record
GHSA-732j-vmpr-mg9v- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-823
- Updated
- 2026-11-02
NVD
5.3
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
- Record
CVE-2023-2426- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-823
- Updated
- 2026-11-02
OSVAZL-26394
5.5
CVE-2023-2426 affecting package vim for versions less than 9.0.1562-1
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
- Record
AZL-26394- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2023-2426
5.3
- Record
BELL-CVE-2023-2426- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
Show 10 moreShow less
OSV
6.8
Use of Out-of-range Pointer Offset in vim/vim
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
- Record
CVE-2023-2426- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-823
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-2426
5.3
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
- Record
DEBIAN-CVE-2023-2426- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2023-1278
6.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 of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.(CVE-2023-2426)
- Record
OESA-2023-1278- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-2426
5.3
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
- Record
UBUNTU-CVE-2023-2426- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L - Updated
- 2026-11-02
OSVMGASA-2023-0192 No score
Updated vim packages fix security vulnerability
Use of Out-of-range Pointer Offset in GitHub repository vim/vim. (CVE-2023-2426)
- Record
MGASA-2023-0192- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12905-1 No score
gvim-9.0.1504-1.1 on GA media
These are all security issues fixed in the gvim-9.0.1504-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12905-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:2640-1 No score
Security update for vim
This update for vim fixes the following issues:
- CVE-2023-2426: Fixed out-of-range pointer offset (bsc#1210996).
- CVE-2023-2609: Fixed NULL pointer dereference (bsc#1211256).
- CVE-2023-2610: Fixed integer overflow or wraparound (bsc#1211257).
- Record
SUSE-SU-2023:2640-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3463-1 No score
Security update for vim
This update for vim fixes the following issues:
Updated to version 9.0 with patch level 1572.
- CVE-2023-2426: Fixed Out-of-range Pointer Offset use (bsc#1210996).
- CVE-2023-2609: Fixed NULL Pointer Dereference (bsc#1211256).
- CVE-2023-2610: Fixed nteger Overflow or Wraparound (bsc#1211257).
- CVE-2023-1264: Fixed NULL Pointer Dereference (bsc#1209042).
- CVE-2023-1355: Fixed NULL Pointer Dereference (bsc#1209187).
- CVE-2023-1127: Fixed divide by zero in scrolldown() (bsc#1208828).
- Record
SUSE-SU-2023:3463-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3497-1 No score
Security update for vim
This update for vim fixes the following issues:
Updated to version 9.0 with patch level 1572.
- CVE-2023-2426: Fixed Out-of-range Pointer Offset use (bsc#1210996).
- CVE-2023-2609: Fixed NULL Pointer Dereference (bsc#1211256).
- CVE-2023-2610: Fixed nteger Overflow or Wraparound (bsc#1211257).
- Record
SUSE-SU-2023:3497-1- Updated
- 2026-11-02
OSVUSN-6154-1 No score
vim vulnerabilities
It was discovered that Vim was using uninitialized memory when fuzzy matching, which could lead to invalid memory access. 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, Ubuntu 22.10 and Ubuntu 23.04. (CVE-2023-2426)
It was discovered that Vim was not properly performing bounds checks when processing register contents, which could lead to a NULL pointer dereference. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2023-2609)
It was discovered that Vim was not properly limiting the length of substitution expression strings, which could lead to excessive memory consumption. An attacker could possibly use this issue to cause a denial of service. (CVE-2023-2610)
- Record
USN-6154-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vimAzure Linux:2 |
before 9.0.1562-1 | 9.0.1562-1 |
vimAlpaquita:23 |
9.0.0999-r0 up to 9.1.0936-r0 | 9.1.0936-r0 |
vimDebian:12 |
before 2:9.0.1378-2 | 2:9.0.1378-2 |
vimDebian:13 |
before 2:9.0.1378-2 | 2:9.0.1378-2 |
vimDebian:14 |
before 2:9.0.1378-2 | 2:9.0.1378-2 |
vimMageia:8 |
before 9.0.1572-1.mga8 | 9.0.1572-1.mga8 |
vimopenEuler:20.03-LTS-SP1 |
before 9.0-13.oe1 | 9.0-13.oe1 |
vimopenEuler:20.03-LTS-SP3 |
before 9.0-13.oe1 | 9.0-13.oe1 |
vimopenEuler:22.03-LTS |
before 9.0-14.oe2203sp1 | 9.0-14.oe2203sp1 |
vimopenEuler:22.03-LTS-SP1 |
before 9.0-14.oe2203sp1 | 9.0-14.oe2203sp1 |
Show 37 moreShow less
| Package | Affected | Fixed |
|---|---|---|
vimSUSE:Linux Enterprise Micro 5.3 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Micro 5.4 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Module for Basesystem 15 SP4 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Module for Desktop Applications 15 SP4 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Real Time 15 SP3 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Server 15 SP2-LTSS From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Server 15 SP3-LTSS From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 15 SP2 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 15 SP3 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Manager Proxy 4.2 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Manager Server 4.2 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Micro 5.1 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Micro 5.2 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Enterprise Storage 7 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Enterprise Storage 7.1 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimopenSUSE:Leap Micro 5.3 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimopenSUSE:Leap Micro 5.4 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimopenSUSE:Leap 15.4 From an advisory covering 3 CVEs |
before 9.0.1572-150000.5.46.1 | 9.0.1572-150000.5.46.1 |
vimSUSE:Linux Enterprise Server 12 SP2-BCL From an advisory covering 6 CVEs |
before 9.0.1572-17.18.1 | 9.0.1572-17.18.1 |
vimSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 6 CVEs |
before 9.0.1572-17.18.1 | 9.0.1572-17.18.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 12 SP5 From an advisory covering 6 CVEs |
before 9.0.1572-17.18.1 | 9.0.1572-17.18.1 |
vimSUSE:Linux Enterprise Module for Basesystem 15 SP5 From an advisory covering 3 CVEs |
before 9.0.1632-150500.20.3.1 | 9.0.1632-150500.20.3.1 |
vimSUSE:Linux Enterprise Module for Desktop Applications 15 SP5 From an advisory covering 3 CVEs |
before 9.0.1632-150500.20.3.1 | 9.0.1632-150500.20.3.1 |
vimopenSUSE:Leap 15.5 From an advisory covering 3 CVEs |
before 9.0.1632-150500.20.3.1 | 9.0.1632-150500.20.3.1 |
vimUbuntu:22.04:LTS |
before 2:8.2.3995-1ubuntu2.8, 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 8 moreShow less2:8.2.3565-1ubuntu52:8.2.3995-1ubuntu12:8.2.3995-1ubuntu22:8.2.3995-1ubuntu2.12:8.2.3995-1ubuntu2.32:8.2.3995-1ubuntu2.42:8.2.3995-1ubuntu2.52:8.2.3995-1ubuntu2.7 |
2:8.2.3995-1ubuntu2.8 |
vimUbuntu:Pro:14.04:LTS From an advisory covering 3 CVEs |
before 2:7.4.052-1ubuntu3.1+esm10, 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 8 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+esm62:7.4.052-1ubuntu3.1+esm72:7.4.052-1ubuntu3.1+esm82:7.4.052-1ubuntu3.1+esm9 |
2:7.4.052-1ubuntu3.1+esm10 |
vimUbuntu:Pro:16.04:LTS From an advisory covering 3 CVEs |
before 2:7.4.1689-3ubuntu1.5+esm18, 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 22 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+esm152:7.4.1689-3ubuntu1.5+esm17 |
2:7.4.1689-3ubuntu1.5+esm18 |
vimUbuntu:Pro:18.04:LTS From an advisory covering 3 CVEs |
before 2:8.0.1453-1ubuntu1.13+esm1, 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 12 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.102:8.0.1453-1ubuntu1.112:8.0.1453-1ubuntu1.122:8.0.1453-1ubuntu1.13 |
2:8.0.1453-1ubuntu1.13+esm1 |
vimUbuntu:20.04:LTS From an advisory covering 3 CVEs |
before 2:8.1.2269-1ubuntu5.15, 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 11 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.112:8.1.2269-1ubuntu5.122:8.1.2269-1ubuntu5.132:8.1.2269-1ubuntu5.14 |
2:8.1.2269-1ubuntu5.15 |
vimUbuntu:22.04:LTS From an advisory covering 3 CVEs |
before 2:8.2.3995-1ubuntu2.8, 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 8 moreShow less2:8.2.3565-1ubuntu52:8.2.3995-1ubuntu12:8.2.3995-1ubuntu22:8.2.3995-1ubuntu2.12:8.2.3995-1ubuntu2.32:8.2.3995-1ubuntu2.42:8.2.3995-1ubuntu2.52:8.2.3995-1ubuntu2.7 |
2:8.2.3995-1ubuntu2.8 |
vimopenSUSE:Tumbleweed |
before 9.0.1504-1.1 | 9.0.1504-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-2426 is a medium vulnerability (CVSS 6.8) in Vim, published April 29, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. Fixed in vim 9.0.1562-1.
References
huntr.dev/bounties/3451be4c-91c8-4d08-926b-cbff7396f425
github.com/vim/vim/commit/caf642c25de526229264cab9425e7c9979f3509b
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LOJP6M7ZTKZQYOGVOOAY6TIE6ACBJL55
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PCLJN4QINITA3ZASKLEJ64C5TFNKELMO
support.apple.com/kb/HT213844
support.apple.com/kb/HT213845
Show 32 moreShow less
nvd.nist.gov/vuln/detail/CVE-2023-2426
lists.fedoraproject.org/archives/list/[email protected]/message/LOJP6M7ZTKZQYOGVOOAY6TIE6ACBJL55
lists.fedoraproject.org/archives/list/[email protected]/message/PCLJN4QINITA3ZASKLEJ64C5TFNKELMO
github.com/advisories/GHSA-732j-vmpr-mg9v
docs.bell-sw.com/security/cves/CVE-2023-2426
github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2426.json
security-tracker.debian.org/tracker/CVE-2023-2426
advisories.mageia.org/MGASA-2023-0192.html
bugs.mageia.org/show_bug.cgi?id=31954
lists.fedoraproject.org/archives/list/[email protected]/thread/LOJP6M7ZTKZQYOGVOOAY6TIE6ACBJL55
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1278
suse.com/support/update/announcement/2023/suse-su-20232640-1
bugzilla.suse.com/1210996
bugzilla.suse.com/1211256
bugzilla.suse.com/1211257
suse.com/security/cve/CVE-2023-2426
suse.com/security/cve/CVE-2023-2609
suse.com/security/cve/CVE-2023-2610
suse.com/support/update/announcement/2023/suse-su-20233463-1
bugzilla.suse.com/1208828
bugzilla.suse.com/1209042
bugzilla.suse.com/1209187
suse.com/security/cve/CVE-2023-1127
suse.com/security/cve/CVE-2023-1264
suse.com/security/cve/CVE-2023-1355
suse.com/support/update/announcement/2023/suse-su-20233497-1
bugzilla.suse.com/1211461
ubuntu.com/security/CVE-2023-2426
ubuntu.com/security/notices/USN-6154-1
cve.org/CVERecord?id=CVE-2023-2426
ubuntu.com/security/CVE-2023-2609
ubuntu.com/security/CVE-2023-2610