ncurses 6.3 before patch 20220416 has an out-of-bounds read and segmentation violation in convert_strings in tinfo/read_entry.c in the terminfo library.
https://support.apple.com/kb/HT213488
https://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00016.html
https://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00014.html
https://lists.debian.org/debian-lts-announce/2022/10/msg00037.html