Every CVE Search/ Get API key

CVE-2023-1127

Divide By Zero in vim/vim

7.3 HighFix available

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

0.46%Down 0.4 points since Mar 2, 2023
90%50%10%1%

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

Affected packages
PackageAffectedFixed
vim
Alpine:v3.18
before 9.0.1395-r0
9.0.1395-r0
vim
Alpine:v3.19
before 9.0.1395-r0
9.0.1395-r0
vim
Alpine:v3.20
before 9.0.1395-r0
9.0.1395-r0
vim
Alpine:v3.21
before 9.0.1395-r0
9.0.1395-r0
vim
Alpine:v3.22
before 9.0.1395-r0
9.0.1395-r0
vim
Alpine:v3.23
before 9.0.1395-r0
9.0.1395-r0
vim
Alpine:v3.24
before 9.0.1395-r0
9.0.1395-r0
vim
Azure Linux:2
before 9.0.1402-1
9.0.1402-1
vim
Alpaquita:23
9.0.0820-r2 up to 9.1.0936-r0
9.1.0936-r0
vim
Debian:12
before 2:9.0.1378-1
2:9.0.1378-1
Show 47 moreShow less
Affected packages
PackageAffectedFixed
vim
Debian:13
before 2:9.0.1378-1
2:9.0.1378-1
vim
Debian:14
before 2:9.0.1378-1
2:9.0.1378-1
vim
Mageia:8
From an advisory covering 3 CVEs
before 9.0.1411-1.mga8
9.0.1411-1.mga8
vim
SUSE:OpenStack Cloud 9
From an advisory covering 4 CVEs
before 9.0.1386-17.15.4
9.0.1386-17.15.4
vim
SUSE:OpenStack Cloud Crowbar 9
From an advisory covering 4 CVEs
before 9.0.1386-17.15.4
9.0.1386-17.15.4
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 4 CVEs
before 9.0.1386-17.15.4
9.0.1386-17.15.4
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE:Enterprise Storage 7
From an advisory covering 4 CVEs
before 9.0.1386-150000.5.37.1
9.0.1386-150000.5.37.1
vim
SUSE: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
vim
openSUSE: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
vim
openSUSE:Leap 15.4
From an advisory covering 4 CVEs
before 9.0.1386-150000.5.37.1
9.0.1386-150000.5.37.1
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
SUSE: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
vim
openSUSE: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
vim
openSUSE:Leap 15.4
From an advisory covering 3 CVEs
before 9.0.1443-150000.5.40.1
9.0.1443-150000.5.40.1
vim
SUSE: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
vim
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 6 CVEs
before 9.0.1572-17.18.1
9.0.1572-17.18.1
vim
SUSE: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
vim
openSUSE:Tumbleweed
before 9.0.1367-1.1
9.0.1367-1.1

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-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

Show 35 moreShow less
MoveEnter Open