CVE Database›Document archive›CVE-2020-19190

CVE-2020-19190

ncurses: Heap buffer overflow in _nc_find_entry in tinfo/comp_hash.c:70

Loading…

Severity

Low

Red Hat Product Security

6.5

CVSS 3.1

Review impact separately from score.

Published · May 3, 2019

Updated · November 21, 2025

Description

A flaw has been identified in the ncurses library. This issue occurs when processing a crafted terminfo database, causing a heap-based buffer overflow, resulting in an application crash.

Statement

Red Hat Product Security has rated this issue as having a Low security impact because processing terminfo descriptions in the source form should be handled the same way as executable files or source code of any programming language. Users are not supposed to use untrusted terminfo descriptions.

The ncurses library shipped with Red Hat Enterprise Linux 9 is not affected by this vulnerability because it has a newer, fixed ncurses version.

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

Do not compile or decompile untrusted terminfo descriptions.

CVSS / CWE

CVSS 3.1 · 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CWE-122 · Heap-based Buffer Overflow