CVE-2023-0512 Divide By Zero in vim/vim
A divide by zero error in Vim allows attackers to cause a denial of service condition.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-0512?
CVE-2023-0512 is a high-severity denial of service vulnerability in Vim Vim, published on 26 Jan 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
Weakness: CWE-369
Which versions are affected by CVE-2023-0512?
It affects 1 product.
Products include Vim Vim.
How do I fix CVE-2023-0512?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-0512 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-0512 exists.
Other vulnerabilities in Vim Vim
Sources
Also known as ALPINE-CVE-2023-0512, AZL-13233, BELL-CVE-2023-0512, DEBIAN-CVE-2023-0512, GHSA-whp8-xgvp-xj3v.