CVE-2021-39537
An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
02 Description
An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 3.24% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 88.2% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-08.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-09-20 00:00Z5 YR AGO
- Last updated
- 2026-10-08 21:03Z21 DAYS AGO
- Reserved
- 2021-08-23
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-787Out-of-bounds WriteBase
- Data version
- 5.2
- Document digest
- 72977922bc01652c4671afe3221831d659070760625684f446d701ed557d78a5
05 Affected products
06 References
- lists.gnu.orghttps://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html
- lists.gnu.orghttps://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html
- cvsweb.netbsd.orghttp://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup
- support.apple.comhttps://support.apple.com/kb/HT213443
- support.apple.comhttps://support.apple.com/kb/HT213444
- support.apple.comhttps://support.apple.com/kb/HT213488
- seclists.org20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13http://seclists.org/fulldisclosure/2022/Oct/41
- seclists.org20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13http://seclists.org/fulldisclosure/2022/Oct/28
- seclists.org20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6http://seclists.org/fulldisclosure/2022/Oct/43
- seclists.org20221030 APPLE-SA-2022-10-27-9 Additional information for APPLE-SA-2022-09-12-3 macOS Big Sur 11.7http://seclists.org/fulldisclosure/2022/Oct/45
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20230427-0012/
- lists.debian.org[debian-lts-announce] 20231203 [SECURITY] [DLA 3682-1] ncurses security updatehttps://lists.debian.org/debian-lts-announce/2023/12/msg00004.html
07 Fixed in
Arch Linux
- ncurses Fixed in 6.3-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- ncurses Fixed in 6.2+20200912-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ncurses Fixed in 6.2+20200912-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ncurses Fixed in 6.2+20200912-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- ncurses Fixed in 6.1-1ubuntu1.18.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- ncurses Fixed in 6.2-0ubuntu2.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- ncurses Fixed in 5.9+20140118-1ubuntu1+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- ncurses Fixed in 6.0+20160213-1ubuntu1+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.