CVE-2023-0512 json
Divide By Zero in vim/vim
published 2023-01-26 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-12558
- cvss
- 7.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
Patch / fix
- vim vim/vim 9.0.1247
- vim Debian 14, Debian 13, Debian 12 2:9.0.1378-1
debian advisories DEBIAN-CVE-2023-0512
- vim SLE Real Time 15 SP3, SLE Module for Desktop Applications 15 SP4, SLE Module for Basesystem 15 SP4 +20 more 9.0.1386-150000.5.37.1
- vim SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 9.0.1386-17.15.4
suse advisories SUSE-SU-2023:0781-2SUSE-SU-2023:0781-1SUSE-SU-2023:0760-1
- vim Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 9.0.1251-r0
alpine advisories ALPINE-CVE-2023-0512
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-0512 updated cvss 7.8
vim: divide by zero in adjust_skipcol() at move.ca
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 9 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/de83736a-1936-4872-830b-f1e9b0ad2a74 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- vim vim/vim
Classification
- Weakness
-
- CWE-369 Divide By Zero
References
-
github.com
/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835
patch, third-party-advisory
-
huntr.dev
/bounties/de83736a-1936-4872-830b-f1e9b0ad2a74
exploit, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/IE44W6WMMREYCW3GJHPSYP7NK2VT5NY6/
vendor-advisory
- support.apple.com /kb/HT213677
- support.apple.com /kb/HT213675
- support.apple.com /kb/HT213670
-
seclists.org
/fulldisclosure/2023/Mar/17
mailing-list
-
seclists.org
/fulldisclosure/2023/Mar/18
mailing-list
-
seclists.org
/fulldisclosure/2023/Mar/21
mailing-list
Sources
- CVE List CVE-2023-0512
- NVD CVE-2023-0512
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.