CVE-2023-1127
Divide By Zero in vim/vim
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
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
Divide By Zero in vim/vim
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
- Record
CVE-2023-1127- 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-369
- Updated
- 2026-11-02
EUVDEUVD-2023-23410
7.3
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
- Record
EUVD-2023-23410- 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-wvg5-x3jq-vp4g
7.8
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
- Record
GHSA-wvg5-x3jq-vp4g- 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-369
- Updated
- 2026-11-02
NVD
7.8
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
- Record
CVE-2023-1127- 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-369
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-1127
7.8
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
- Record
ALPINE-CVE-2023-1127- 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-25320
7.8
CVE-2023-1127 affecting package vim for versions less than 9.0.1402-1
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
- Record
AZL-25320- 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 10 moreShow less
OSVBELL-CVE-2023-1127
7.8
- Record
BELL-CVE-2023-1127- 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
Divide By Zero in vim/vim
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
- Record
CVE-2023-1127- 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-369
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-1127
7.8
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
- Record
DEBIAN-CVE-2023-1127- 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
OSVMGASA-2023-0110 No score
Updated vim packages fix security vulnerability
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367. (CVE-2023-1127) Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376. (CVE-2023-1170) Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378. (CVE-2023-1175)
- Record
MGASA-2023-0110- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12751-1 No score
gvim-9.0.1367-1.1 on GA media
These are all security issues fixed in the gvim-9.0.1367-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12751-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0760-1 No score
Security update for vim
This update for vim fixes the following issues:
- CVE-2023-0512: Fixed a divide By Zero (bsc#1207780).
- CVE-2023-1175: vim: an incorrect calculation of buffer size (bsc#1208957).
- CVE-2023-1170: Fixed a heap-based Buffer Overflow (bsc#1208959).
- CVE-2023-1127: Fixed divide by zero in scrolldown() (bsc#1208828).
Updated to version 9.0 with patch level 1386.
- Record
SUSE-SU-2023:0760-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0781-1 No score
Security update for vim
This update for vim fixes the following issues:
- CVE-2023-0512: Fixed a divide By Zero (bsc#1207780).
- CVE-2023-1175: vim: an incorrect calculation of buffer size (bsc#1208957).
- CVE-2023-1170: Fixed a heap-based Buffer Overflow (bsc#1208959).
- CVE-2023-1127: Fixed divide by zero in scrolldown() (bsc#1208828).
Updated to version 9.0 with patch level 1386.
- Record
SUSE-SU-2023:0781-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0781-2 No score
Security update for vim
This update for vim fixes the following issues:
- CVE-2023-0512: Fixed a divide By Zero (bsc#1207780).
- CVE-2023-1175: vim: an incorrect calculation of buffer size (bsc#1208957).
- CVE-2023-1170: Fixed a heap-based Buffer Overflow (bsc#1208959).
- CVE-2023-1127: Fixed divide by zero in scrolldown() (bsc#1208828).
Updated to version 9.0 with patch level 1386.
- Record
SUSE-SU-2023:0781-2- Updated
- 2026-11-02
OSVSUSE-SU-2023:2103-1 No score
Security update for vim
This update for vim fixes the following issues:
Updated to version 9.0 with patch level 1443, fixes the following security problems
- 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:2103-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
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vimAlpine:v3.18 |
before 9.0.1395-r0 | 9.0.1395-r0 |
vimAlpine:v3.19 |
before 9.0.1395-r0 | 9.0.1395-r0 |
vimAlpine:v3.20 |
before 9.0.1395-r0 | 9.0.1395-r0 |
vimAlpine:v3.21 |
before 9.0.1395-r0 | 9.0.1395-r0 |
vimAlpine:v3.22 |
before 9.0.1395-r0 | 9.0.1395-r0 |
vimAlpine:v3.23 |
before 9.0.1395-r0 | 9.0.1395-r0 |
vimAlpine:v3.24 |
before 9.0.1395-r0 | 9.0.1395-r0 |
vimAzure Linux:2 |
before 9.0.1402-1 | 9.0.1402-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 47 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 |
vimMageia:8 From an advisory covering 3 CVEs |
before 9.0.1411-1.mga8 | 9.0.1411-1.mga8 |
vimSUSE:OpenStack Cloud 9 From an advisory covering 4 CVEs |
before 9.0.1386-17.15.4 | 9.0.1386-17.15.4 |
vimSUSE:OpenStack Cloud Crowbar 9 From an advisory covering 4 CVEs |
before 9.0.1386-17.15.4 | 9.0.1386-17.15.4 |
vimSUSE:Linux Enterprise Server for SAP Applications 12 SP4 From an advisory covering 4 CVEs |
before 9.0.1386-17.15.4 | 9.0.1386-17.15.4 |
vimSUSE:Linux Enterprise Server 12 SP2-BCL From an advisory covering 4 CVEs |
before 9.0.1386-17.15.4 | 9.0.1386-17.15.4 |
vimSUSE:Linux Enterprise Server 12 SP4-ESPOS From an advisory covering 4 CVEs |
before 9.0.1386-17.15.4 | 9.0.1386-17.15.4 |
vimSUSE:Linux Enterprise Server 12 SP4-LTSS From an advisory covering 4 CVEs |
before 9.0.1386-17.15.4 | 9.0.1386-17.15.4 |
vimSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 4 CVEs |
before 9.0.1386-17.15.4 | 9.0.1386-17.15.4 |
vimSUSE:Linux Enterprise Server for SAP Applications 12 SP5 From an advisory covering 4 CVEs |
before 9.0.1386-17.15.4 | 9.0.1386-17.15.4 |
vimSUSE:Linux Enterprise Micro 5.3 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Module for Basesystem 15 SP4 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Module for Desktop Applications 15 SP4 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Real Time 15 SP3 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Server 15 SP2-LTSS From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Server 15 SP3-LTSS From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 15 SP2 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Server for SAP Applications 15 SP3 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Manager Proxy 4.2 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Manager Server 4.2 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Micro 5.1 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Micro 5.2 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Enterprise Storage 7 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Enterprise Storage 7.1 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimopenSUSE:Leap Micro 5.3 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimopenSUSE:Leap 15.4 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Micro 5.4 From an advisory covering 4 CVEs |
before 9.0.1386-150000.5.37.1 | 9.0.1386-150000.5.37.1 |
vimSUSE:Linux Enterprise Micro 5.3 From an advisory covering 3 CVEs |
before 9.0.1443-150000.5.40.1 | 9.0.1443-150000.5.40.1 |
vimSUSE:Linux Enterprise Micro 5.4 From an advisory covering 3 CVEs |
before 9.0.1443-150000.5.40.1 | 9.0.1443-150000.5.40.1 |
vimSUSE:Linux Enterprise Module for Basesystem 15 SP4 From an advisory covering 3 CVEs |
before 9.0.1443-150000.5.40.1 | 9.0.1443-150000.5.40.1 |
vimSUSE:Linux Enterprise Module for Desktop Applications 15 SP4 From an advisory covering 3 CVEs |
before 9.0.1443-150000.5.40.1 | 9.0.1443-150000.5.40.1 |
vimSUSE:Linux Enterprise Real Time 15 SP3 From an advisory covering 3 CVEs |
before 9.0.1443-150000.5.40.1 | 9.0.1443-150000.5.40.1 |
vimSUSE:Linux Enterprise Micro 5.1 From an advisory covering 3 CVEs |
before 9.0.1443-150000.5.40.1 | 9.0.1443-150000.5.40.1 |
vimSUSE:Linux Enterprise Micro 5.2 From an advisory covering 3 CVEs |
before 9.0.1443-150000.5.40.1 | 9.0.1443-150000.5.40.1 |
vimopenSUSE:Leap Micro 5.3 From an advisory covering 3 CVEs |
before 9.0.1443-150000.5.40.1 | 9.0.1443-150000.5.40.1 |
vimopenSUSE:Leap 15.4 From an advisory covering 3 CVEs |
before 9.0.1443-150000.5.40.1 | 9.0.1443-150000.5.40.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 |
vimopenSUSE:Tumbleweed |
before 9.0.1367-1.1 | 9.0.1367-1.1 |
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-1127 is a high vulnerability (CVSS 7.3) in Vim, published March 1, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.46%, the 39th percentile. Fixed in vim 9.0.1395-r0.
References
huntr.dev/bounties/2d4d309e-4c96-415f-9070-36d0815f1beb
github.com/vim/vim/commit/e0f869196930ef5f25a0ac41c9215b09c9ce2d3c
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PDVN5HSWPNVP4QXBPCEGZDLZKURLJWTE
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJ6TMKKBXHGVUHWFGM4X46VIJO7ZAG2W
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IE44W6WMMREYCW3GJHPSYP7NK2VT5NY6
nvd.nist.gov/vuln/detail/CVE-2023-1127
Show 35 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/PDVN5HSWPNVP4QXBPCEGZDLZKURLJWTE
lists.fedoraproject.org/archives/list/[email protected]/message/WJ6TMKKBXHGVUHWFGM4X46VIJO7ZAG2W
lists.fedoraproject.org/archives/list/[email protected]/message/IE44W6WMMREYCW3GJHPSYP7NK2VT5NY6
github.com/advisories/GHSA-wvg5-x3jq-vp4g
security.alpinelinux.org/vuln/CVE-2023-1127
docs.bell-sw.com/security/cves/CVE-2023-1127
github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1127.json
security-tracker.debian.org/tracker/CVE-2023-1127
advisories.mageia.org/MGASA-2023-0110.html
bugs.mageia.org/show_bug.cgi?id=31637
lists.fedoraproject.org/archives/list/[email protected]/thread/PDVN5HSWPNVP4QXBPCEGZDLZKURLJWTE
lists.suse.com/pipermail/sle-security-updates/2023-March/014068.html
suse.com/support/update/announcement/2023/suse-su-20230760-1
bugzilla.suse.com/1207780
bugzilla.suse.com/1208828
bugzilla.suse.com/1208957
bugzilla.suse.com/1208959
suse.com/security/cve/CVE-2023-0512
suse.com/security/cve/CVE-2023-1127
suse.com/security/cve/CVE-2023-1170
suse.com/security/cve/CVE-2023-1175
suse.com/support/update/announcement/2023/suse-su-20230781-1
suse.com/support/update/announcement/2023/suse-su-20230781-2
suse.com/support/update/announcement/2023/suse-su-20232103-1
bugzilla.suse.com/1209042
bugzilla.suse.com/1209187
suse.com/security/cve/CVE-2023-1264
suse.com/security/cve/CVE-2023-1355
suse.com/support/update/announcement/2023/suse-su-20233463-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