
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-2980 is a NULL pointer dereference vulnerability discovered in the Vim text editor, specifically affecting versions prior to 9.0.0259. The vulnerability was identified in the do_mouse() function within the src/mouse.c file, where a mouse click when the editor was not properly initialized could trigger the vulnerability (CVE Details, Red Hat CVE).
The vulnerability occurs due to a NULL pointer dereference in the do_mouse() function when processing mouse clicks. The issue specifically arises when TabPageIdxs[] is not properly initialized before being accessed. The vulnerability was assigned a CVSS 3.1 base score of 5.5 (Medium), with the following vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (Ubuntu CVE).
When exploited, this vulnerability can lead to a crash of the Vim editor through a denial of service condition. The impact is limited to availability, with no direct effects on confidentiality or integrity of the system (Ubuntu CVE).
The vulnerability was fixed in Vim version 9.0.0259 by adding a check to ensure TabPageIdxs is not NULL before accessing it. Users are advised to upgrade to this version or later. The fix was implemented through a patch that adds proper initialization checks (Vim Commit).
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."