An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
https://support.apple.com/en-us/HT213443
https://support.apple.com/kb/HT213488
https://support.apple.com/kb/HT213444
https://support.apple.com/kb/HT213443
https://security.netapp.com/advisory/ntap-20230427-0012/
https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html
https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html
https://lists.debian.org/debian-lts-announce/2023/12/msg00004.html
http://seclists.org/fulldisclosure/2022/Oct/45
http://seclists.org/fulldisclosure/2022/Oct/43
http://seclists.org/fulldisclosure/2022/Oct/41