Vim
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*
- < 9.2.0137
A NULL pointer dereference vulnerability has been identified in Vim versions 9.1.0011 prior to 9.2.0137. The issue arises in the NFA regex compiler when it processes a collection with a combining character at the end of a range. This mismanagement causes the NFA stack to become corrupted, leading to a NULL pointer dereference in the 'nfa_max_width()' function. As a result, the application crashes with a segmentation fault.
Exploiting this vulnerability causes a segmentation fault, leading to a crash of the Vim application.
The vulnerability can be reproduced by using a regex pattern that includes a look-behind assertion with a collection range endpoint defined by a combining Unicode character. This can be done by creating a Vim function that sets a line with such a pattern, compiles the regex, and executes it, which will trigger the crash.
Users can upgrade to Vim version 9.2.0137 or later to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.