There is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012.
https://security.gentoo.org/glsa/202101-28
https://lists.gnu.org/archive/html/bug-ncurses/2019-10/msg00045.html
https://lists.gnu.org/archive/html/bug-ncurses/2019-10/msg00013.html
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00061.html
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00059.html