All reports
Low

vim: NULL pointer dereference in generate_loadvar() in vim9compile.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-2874

Probability of exploitation in the next 30 days: 0.49%

FIRST EPSS · 2026-11-22

Description

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224.

A NULL pointer dereference vulnerability was found in Vim in the generate_loadvar function in the vim9compile.c file. This flaw allows an attacker who can trick a user into processing a specially crafted file to trigger the NULL pointer dereference, causing the application to crash.