CVE-2023-0512
published 2023-01-30CVE-2023-0512: Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
PriorityP430high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.49%
38.5th percentile
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos_big_sur | — | — |
| apple | macos_monterey | — | — |
| apple | macos_ventura | — | — |
| debian | vim | < vim 2:9.0.1378-1 (bookworm) | vim 2:9.0.1378-1 (bookworm) |
| msrc | cbl2_vim_9.0.1247-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_vim_9.0.1247-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 9.0.1247 | 9.0.1247 |
| vim | vim | >= 0 < 2:9.0.1378-1 | 2:9.0.1378-1 |
| vim | vim | >= 0 < 2:9.0.1378-1 | 2:9.0.1378-1 |
| vim | vim | >= 0 < 2:9.0.1378-1 | 2:9.0.1378-1 |
| vim | vim_vim | >= unspecified < 9.0.1247 | 9.0.1247 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.3HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Apple
CVE-2023-0512: macOS Ventura 13.3
vendor_apple·2023-03-27·CVSS 7.8
CVE-2023-0512 [HIGH] CVE-2023-0512: macOS Ventura 13.3
Apple Security Update: About the security content of macOS Ventura 13.3
Product: macOS Ventura
Version: 13.3
CVE: CVE-2023-0512
Component: CVE-2023-0512
Apple
CVE-2023-0512: macOS Monterey 12.6.4
vendor_apple·2023-03-27·CVSS 7.8
CVE-2023-0512 [HIGH] CVE-2023-0512: macOS Monterey 12.6.4
Apple Security Update: About the security content of macOS Monterey 12.6.4
Product: macOS Monterey
Version: 12.6.4
CVE: CVE-2023-0512
Component: CVE-2023-0512
Apple
CVE-2023-0512: macOS Big Sur 11.7.5
vendor_apple·2023-03-27·CVSS 7.8
CVE-2023-0512 [HIGH] CVE-2023-0512: macOS Big Sur 11.7.5
Apple Security Update: About the security content of macOS Big Sur 11.7.5
Product: macOS Big Sur
Version: 11.7.5
CVE: CVE-2023-0512
Component: CVE-2023-0512
Red Hat
vim: divide by zero in adjust_skipcol() at move.ca
vendor_redhat·2023-01-30·CVSS 7.8
CVE-2023-0512 [HIGH] CWE-369 vim: divide by zero in adjust_skipcol() at move.ca
vim: divide by zero in adjust_skipcol() at move.ca
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
A divide-by-zero flaw was found in Vim's adjust_skipcol() function in the move.c file. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a floating point exception error and causing an application to crash, eventually leading to a denial of service.
Statement: Red Hat Product Security has rated this issue as having a Low security impact, because the "victim" has to run an untrusted file IN SCRIPT MODE. Someone who is running untrusted files in script mode is equivalent to someone just taking a random python script and running it.
Since Red Hat Enterprise Linux 6, 7 are Out-of-Support-Scope for Low/Moderate flaws, the issue is not
Microsoft
Divide By Zero in vim/vim
vendor_msrc·2023-01-10·CVSS 7.8
CVE-2023-0512 [HIGH] CWE-369 Divide By Zero in vim/vim
Divide By Zero in vim/vim
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
@huntrdev: @huntrdev
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-us/a
Debian
CVE-2023-0512: vim - Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
vendor_debian·2023·CVSS 7.8
CVE-2023-0512 [HIGH] CVE-2023-0512: vim - Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
Scope: local
bookworm: resolved (fixed in 2:9.0.1378-1)
bullseye: open
forky: resolved (fixed in 2:9.0.1378-1)
sid: resolved (fixed in 2:9.0.1378-1)
trixie: resolved (fixed in 2:9.0.1378-1)
GHSA
GHSA-whp8-xgvp-xj3v: Divide By Zero in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2023-01-30
CVE-2023-0512 [HIGH] CWE-369 GHSA-whp8-xgvp-xj3v: Divide By Zero in GitHub repository vim/vim prior to 9
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
OSV
CVE-2023-0512: Divide By Zero in GitHub repository vim/vim prior to 9
osv·2023-01-30·CVSS 7.8
CVE-2023-0512 [HIGH] CVE-2023-0512: Divide By Zero in GitHub repository vim/vim prior to 9
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
No detection rules found.
No public exploits indexed.
arXiv
Patch2QL: Discover Cognate Defects in Open Source Software Supply Chain With Auto-generated Static Analysis Rules
arxiv_fulltext·2024-01-30
Patch2QL: Discover Cognate Defects in Open Source Software Supply Chain With Auto-generated Static Analysis Rules
Patch2QL: Discover Cognate Defects in Open Source Software Supply Chain With Auto-generated Static Analysis Rules
Fuwei WangCorresponding author. Email: [email protected], Yongzhi Liu, Zhiqiang Dong
Yunding Lab, Tencent Inc.
## Abstract
In the open source software (OSS) ecosystem, there exists a complex software supply chain, where developers upstream and downstream widely borrow and reuse code. This results in the widespread occurrence of recurring defects, missing fixes, and propagation issues. These are collectively referred to as cognate defects, and their scale and threats have not received extensive attention and systematic research. Software composition analysis and code clone detection methods are unable to cover the various variant issues in the supply chain scenario, wh
Bugzilla
CVE-2023-0512 vim: divide by zero in adjust_skipcol() at move.ca
bugzilla·2023-01-31·CVSS 7.8
CVE-2023-0512 [HIGH] CVE-2023-0512 vim: divide by zero in adjust_skipcol() at move.ca
CVE-2023-0512 vim: divide by zero in adjust_skipcol() at move.ca
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
https://github.com/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835
https://huntr.dev/bounties/de83736a-1936-4872-830b-f1e9b0ad2a74
Discussion:
Created vim tracking bugs for this issue:
Affects: fedora-all [bug 2179801]
http://seclists.org/fulldisclosure/2023/Mar/17http://seclists.org/fulldisclosure/2023/Mar/18http://seclists.org/fulldisclosure/2023/Mar/21https://github.com/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835https://huntr.dev/bounties/de83736a-1936-4872-830b-f1e9b0ad2a74https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IE44W6WMMREYCW3GJHPSYP7NK2VT5NY6/https://support.apple.com/kb/HT213670https://support.apple.com/kb/HT213675https://support.apple.com/kb/HT213677http://seclists.org/fulldisclosure/2023/Mar/17http://seclists.org/fulldisclosure/2023/Mar/18http://seclists.org/fulldisclosure/2023/Mar/21https://github.com/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835https://huntr.dev/bounties/de83736a-1936-4872-830b-f1e9b0ad2a74https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IE44W6WMMREYCW3GJHPSYP7NK2VT5NY6/https://support.apple.com/kb/HT213670https://support.apple.com/kb/HT213675https://support.apple.com/kb/HT213677
2023-01-30
Published