CVE-2023-3896
published 2023-08-07CVE-2023-3896: Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3
PriorityP432high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.38%
31.0th percentile
Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.1894-1 (forky) | vim 2:9.0.1894-1 (forky) |
| msrc | cbl2_vim_9.0.1562-2_on_cbl_mariner_2.0 | — | — |
| opencloudos | opencloudos_stream | 9.0.1367-1 – 9.0.1367-3 | — |
| vim | vim | — | — |
| vim | vim | >= 0 < 2:9.0.1894-1 | 2:9.0.1894-1 |
| vim | vim | >= 0 < 2:9.0.1894-1 | 2:9.0.1894-1 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.20 | 2:8.1.2269-1ubuntu5.20 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.13 | 2:8.2.3995-1ubuntu2.13 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm14 | 2:7.4.052-1ubuntu3.1+esm14 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm20 | 2:7.4.1689-3ubuntu1.5+esm20 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm6 | 2:8.0.1453-1ubuntu1.13+esm6 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.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.
OSV
vim vulnerabilities
osv·2023-10-25·CVSS 7.8
CVE-2023-3896 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim could be made to divide by zero. An attacker
could possibly use this issue to cause a denial of service. This issue
only affected Ubuntu 23.04. (CVE-2023-3896)
It was discovered that Vim did not properly manage memory. An attacker
could possibly use this issue to cause a denial of service or execute
arbitrary code. (CVE-2023-4733, CVE-2023-4750)
It was discovered that Vim contained an arithmetic overflow. An attacker
could possibly use this issue to cause a denial of service. This issue
only affected Ubuntu 22.04 LTS, Ubuntu 23.04, and Ubuntu 23.10.
(CVE-2023-4734)
It was discovered that Vim could be made to write out of bounds. An
attacker could possibly use this issue to cause a denial of service or
execute arbitrary code. (CVE-2023-4735
GHSA
GHSA-9r4h-7xv2-84wf: Divide By Zero in vim/vim from 9
ghsa_unreviewed·2023-08-07
CVE-2023-3896 [HIGH] CWE-369 GHSA-9r4h-7xv2-84wf: Divide By Zero in vim/vim from 9
Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3
OSV
CVE-2023-3896: Divide By Zero in vim/vim from 9
osv·2023-08-07·CVSS 7.8
CVE-2023-3896 [HIGH] CVE-2023-3896: Divide By Zero in vim/vim from 9
Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-10-25·CVSS 7.8
CVE-2023-4752 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim could be made to divide by zero. An attacker
could possibly use this issue to cause a denial of service. This issue
only affected Ubuntu 23.04. (CVE-2023-3896)
It was discovered that Vim did not properly manage memory. An attacker
could possibly use this issue to cause a denial of service or execute
arbitrary code. (CVE-2023-4733, CVE-2023-4750)
It was discovered that Vim contained an arithmetic overflow. An attacker
could possibly use this issue to cause a denial of service. This issue
only affected Ubuntu 22.04 LTS, Ubuntu 23.04, and Ubuntu 23.10.
(CVE-2023-4734)
It was discovered that Vim could be made to write out of bounds. An
attacker could possibly use this issue to cause a
Microsoft
A divide by zero issue existed in vim of OpenCloudOS Stream
vendor_msrc·2023-08-08·CVSS 7.8
CVE-2023-3896 [HIGH] CWE-369 A divide by zero issue existed in vim of OpenCloudOS Stream
A divide by zero issue existed in vim of OpenCloudOS Stream
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
OpenCloudOS: OpenCloudOS
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Referenc
Red Hat
vim: Divide by zero in scroll_cursor_bot
vendor_redhat·2023-08-07·CVSS 7.8
CVE-2023-3896 [HIGH] CWE-369 vim: Divide by zero in scroll_cursor_bot
vim: Divide by zero in scroll_cursor_bot
Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3
A flaw was found in Vim. When foldcolumn and smoothscrool are on, a divide by zero issue may occur in the scroll_cursor_bot function, causing a program crash.
Statement: All versions of Vim shipped with Red Hat Enterprise Linux are affected, because of the presence of vulnerable code in our code-base.
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 currently planned to
Debian
CVE-2023-3896: vim - Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3
vendor_debian·2023·CVSS 7.8
CVE-2023-3896 [HIGH] CVE-2023-3896: vim - Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3
Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 2:9.0.1894-1)
sid: resolved (fixed in 2:9.0.1894-1)
trixie: resolved (fixed in 2:9.0.1894-1)
No detection rules found.
No public exploits indexed.
2023-08-07
Published