Out-of-bounds write in ncurses - CVE-2020-19187

 

Out-of-bounds write in ncurses - CVE-2020-19187

Published: December 11, 2023


Vulnerability identifier: #VU84083
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-19187
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Free Software Foundation
Affected software:
ncurses

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error within the fmt_entry() function in progs/dump_entry.c. A remote attacker can send a specially crafted command to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.


How to mitigate CVE-2020-19187

Install updates from vendor's website.

Sources