CVE-2021-39537
JSON

8.8high

An issue was discovered in ncurses through v6.2-1.

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
3.24% (higher than 88% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
invisible-island ncursesup to 6.2.1NVD
apple mac_os_x10.12.6NVD
apple macos11.7, 13.0NVD

All scores

NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.

NVD (es)

Se ha detectado un problema en ncurses versiones hasta v6.2-1. La función _nc_captoinfo en el archivo captoinfo.c presenta un desbordamiento de búfer en la región heap de la memoria

References

https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.htmlexploit, mailing-list, vendor-advisory
https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.htmlmailing-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-markuppatch, third-party-advisory
https://support.apple.com/kb/HT213443third-party-advisory
https://support.apple.com/kb/HT213444third-party-advisory
https://support.apple.com/kb/HT213488third-party-advisory
http://seclists.org/fulldisclosure/2022/Oct/41mailing-list, third-party-advisory
http://seclists.org/fulldisclosure/2022/Oct/28mailing-list, third-party-advisory
http://seclists.org/fulldisclosure/2022/Oct/43mailing-list, third-party-advisory
http://seclists.org/fulldisclosure/2022/Oct/45mailing-list, third-party-advisory
https://security.netapp.com/advisory/ntap-20230427-0012/
https://lists.debian.org/debian-lts-announce/2023/12/msg00004.htmlmailing-list

Sources

SourceRecordLicence
CVE ListCVE-2021-39537 changed 2026-10-08CVE Terms of Use
NVDCVE-2021-39537 changed 2026-10-08Public domain