
Cloud Vulnerability DB
A community-led vulnerabilities database
A divide-by-zero vulnerability was discovered in Vim versions 9.0.1367-1 through 9.0.1367-3. The vulnerability exists in the scrollcursorbot function when foldcolumn and smoothscroll features are enabled (GitHub Issue).
The vulnerability occurs in the scrollcursorbot function where width1 is assigned the width of current window minus widths of linenumber and foldcolumn, which can be negative. If foldcolumn is enabled, width2 can be assigned 0, resulting in a divide-by-zero fault in the division operation (curwin->w_skipcol - width1) / width2 + 1 (GitHub Issue). The vulnerability has a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).
Successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS) (NetApp Advisory).
The vulnerability was fixed in Vim version 9.0.1894-1. The fix involves avoiding the use of negative width in the calculation (GitHub PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."