CVE-2021-39537

Summary

CVECVE-2021-39537
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-20 16:15:12 UTC
Updated2026-07-27 13:43:06 UTC
DescriptionAn issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.

Risk And Classification

Primary CVSS: v3.1 8.8 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS: 0.032310000 probability, percentile 0.869640000 (date 2026-07-29)

Problem Types: CWE-787 | n/a


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary8.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
2.0[email protected]Primary6.8AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Apple Macos 11.7 All All All
Operating System Apple Macos 13.0 All All All
Operating System Apple Mac Os X 10.12.6 All All All
Application Invisible-island Ncurses All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Full Disclosure: APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
About the security content of macOS Big Sur 11.7 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
A heap-buffer-overflow in captoinfo.c:321:12 af854a3a-2127-422b-91ae-364da2661108 lists.gnu.org Exploit, Mailing List, Vendor Advisory
Full Disclosure: APPLE-SA-2022-10-24-2 macOS Ventura 13 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
Re: CVE-2021-39537 af854a3a-2127-422b-91ae-364da2661108 lists.gnu.org Mailing List, Vendor Advisory
About the security content of macOS Monterey 12.6 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c - view - 1.1 af854a3a-2127-422b-91ae-364da2661108 cvsweb.netbsd.org Patch, Third Party Advisory
Full Disclosure: APPLE-SA-2022-10-27-9 Additional information for APPLE-SA-2022-09-12-3 macOS Big Sur 11.7 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
CVE-2021-39537 GNU Ncurses Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
lists.debian.org/debian-lts-announce/2023/12/msg00004.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
Full Disclosure: APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
About the security content of macOS Ventura 13 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 181569 Debian Security Update for ncurses (CVE-2021-39537)
  • 199358 Ubuntu Security Notification for ncurses Vulnerabilities (USN-6099-1)
  • 354130 Amazon Linux Security Advisory for ncurses : ALAS2-2022-1893
  • 354388 Amazon Linux Security Advisory for ncurses : ALAS2022-2022-217
  • 354530 Amazon Linux Security Advisory for ncurses : ALAS-2022-217
  • 354584 Amazon Linux Security Advisory for ncurses : ALAS-2022-217
  • 355115 Amazon Linux Security Advisory for ncurses : ALAS2023-2023-023
  • 500419 Alpine Linux Security Update for ncurses
  • 501440 Alpine Linux Security Update for ncurses
  • 504176 Alpine Linux Security Update for ncurses
  • 6000372 Debian Security Update for ncurses (DLA 3682-1)
  • 671146 EulerOS Security Update for ncurses (EulerOS-SA-2021-2806)
  • 671167 EulerOS Security Update for ncurses (EulerOS-SA-2021-2925)
  • 671169 EulerOS Security Update for ncurses (EulerOS-SA-2021-2917)
  • 671276 EulerOS Security Update for ncurses (EulerOS-SA-2022-1229)
  • 671301 EulerOS Security Update for ncurses (EulerOS-SA-2022-1210)
  • 751262 SUSE Enterprise Linux Security Update for ncurses (SUSE-SU-2021:3491-1)
  • 751270 OpenSUSE Security Update for ncurses (openSUSE-SU-2021:3490-1)
  • 751302 OpenSUSE Security Update for ncurses (openSUSE-SU-2021:1417-1)
  • 900343 Common Base Linux Mariner (CBL-Mariner) Security Update for ncurses (5935)
  • 901633 Common Base Linux Mariner (CBL-Mariner) Security Update for ncurses (6740-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report