CVE-2018-20786
libvterm: NULL pointer dereference in vterm_screen_set_callbacks
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · December 24, 2018
Updated · November 21, 2025
Description
libvterm through 0+bzr726, as used in Vim and other products, mishandles certain out-of-memory conditions, leading to a denial of service (application crash), related to screen.c, state.c, and vterm.c.
Statement
Red Hat has determined this flaw to be of LOW impact as the vulnerable code is not used when compiling and building /usr/bin/vi; the code is not used because /usr/bin/vi is built with --with-features=small.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE-476 · NULL Pointer Dereference