VYPR
Unrated severityNVD Advisory· Published Jan 26, 2023· Updated Mar 31, 2025

Divide By Zero in vim/vim

CVE-2023-0512

Description

A divide-by-zero vulnerability in Vim versions prior to 9.0.1247 can cause a crash or denial of service.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A divide-by-zero vulnerability in Vim versions prior to 9.0.1247 can cause a crash or denial of service.

Vulnerability

A divide-by-zero issue exists in Vim (vim/vim) prior to version 9.0.1247. The exact code path that triggers the error is not specified in the available references, but divide-by-zero bugs typically occur when an arithmetic operation divides by a user-controlled value that is zero.

Exploitation

An attacker could exploit this vulnerability by providing a specially crafted file or input that causes Vim to perform a division by zero. No authentication is required, but the victim must open the malicious file with Vim. The attack can be performed remotely if Vim is used to view untrusted files.

Impact

Successful exploitation leads to a crash of the Vim process (denial of service). The impact is limited to availability; there is no indication of information disclosure or remote code execution from the available description.

Mitigation

The vulnerability is fixed in Vim version 9.0.1247, released on or before 2023-01-26. Users should update to this version or later. No workaround is disclosed in the provided references. The issue is not known to be exploited in the wild as of publication.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

33

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

9

News mentions

0

No linked articles in our index yet.