CVE-2021-39537
HIGH 8.8CVSS 3.1An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
- Published
- 20 Sep 2021
- Last modified
- 8 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-787
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | invisible-island | ncursescpe:2.3:a:invisible-island:ncurses:*:*:*:*:*:*:*:* |
<= 6.2.1 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.12.6:*:*:*:*:*:*:* |
= 10.12.6 | |
| NVD | apple | macoscpe:2.3:o:apple:macos:11.7:*:*:*:*:*:*:* |
= 11.7 | |
| NVD | apple | macoscpe:2.3:o:apple:macos:13.0:*:*:*:*:*:*:* |
= 13.0 |
References
- 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
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 20 Sep 2021)