An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
Fix
Patch, vendor advisory and mitigation references on NVD 6
- http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup Patch, Third Party Advisory
- https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html Exploit, Mailing List, Vendor Advisory
- https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html Mailing List, Vendor Advisory
- http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup Patch, Third Party Advisory
- https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html Exploit, Mailing List, Vendor Advisory
- https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html Mailing List, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.8 · invisible-island, appleNVD modified 2026-10-08 21:17
Affected (CPE criteria) 4
cpe:2.3:a:invisible-island:ncurses:*:*:*:*:*:*:*:*cpe:2.3:o:apple:mac_os_x:10.12.6:*:*:*:*:*:*:*cpe:2.3:o:apple:macos:11.7:*:*:*:*:*:*:*cpe:2.3:o:apple:macos:13.0:*:*:*:*:*:*:*
References 24
- http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup Patch, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/28 Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/41 Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/43 Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/45 Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/12/msg00004.html
- https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html Exploit, Mailing List, Vendor Advisory
- https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html Mailing List, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20230427-0012/
- https://support.apple.com/kb/HT213443 Third Party Advisory
- https://support.apple.com/kb/HT213444 Third Party Advisory
- https://support.apple.com/kb/HT213488 Third Party Advisory
- http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup Patch, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/28 Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/41 Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/43 Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/45 Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/12/msg00004.html
- https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html Exploit, Mailing List, Vendor Advisory
- https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html Mailing List, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20230427-0012/
- https://support.apple.com/kb/HT213443 Third Party Advisory
- https://support.apple.com/kb/HT213444 Third Party Advisory
- https://support.apple.com/kb/HT213488 Third Party Advisory