Buffer overflow in Apple macOS
CVE-2021-39537
An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.032, 88.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apple macOS — versions 11.7, 13.0
- Apple Mac OS X — versions 10.12.6
- Invisible-Island Ncurses
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 7 other repositories (ARPSyndicate/cvemon, cdupuis/image-api, Dgporte/ExerciciosDockerPB2025, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html (Exploit, Mailing List, Vendor Advisory)
- lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html (Mailing List, Vendor Advisory)
- cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_c… (Patch, Third Party Advisory)
- support.apple.com/kb/HT213443 (Third Party Advisory)
- support.apple.com/kb/HT213444 (Third Party Advisory)
- support.apple.com/kb/HT213488 (Third Party Advisory)
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 (mailing-list, Mailing List, Third Party Advisory)
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 (mailing-list, Mailing List, Third Party Advisory)
- 20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6 (mailing-list, Mailing List, Third Party Advisory)
- 20221030 APPLE-SA-2022-10-27-9 Additional information for APPLE-SA-2022-09-12-3 macOS Big Sur 11.7 (mailing-list, Mailing List, Third Party Advisory)