CVE-2021-39537: An issue was discovered in ncurses through v6.2-1.
Noroxi assessment
Priority: Monitor (action score 36/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.2% (FIRST EPSS); higher than 88.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: ncurses (Alpine:v3.12) 6.2_p20200523-r1; ncurses (Alpine:v3.13) 6.2_p20200530-r0; ncurses (Debian:10) 6.1+20181013-2+deb10u5.
Low priority for now. Upgrade to ncurses (Alpine:v3.12) 6.2_p20200523-r1; ncurses (Alpine:v3.13) 6.2_p20200530-r0; ncurses (Debian:10) 6.1+20181013-2+deb10u5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
- Published
- Sep 20, 2021
- Updated
- Oct 8, 2026
- EPSS
- 3.2% · 88th percentile
- CWE
- CWE-787
Report tools
Action score
36
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| invisible-island | ncurses | cpe:2.3:a:invisible-island:ncurses |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
| apple | macos | cpe:2.3:o:apple:macos |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple mac os x10.12.6
- apple macos11.7
- apple macos13.0
- invisible-island ncursesup to 6.2.1 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.12 | ncurses | before 6.2_p20200523-r1 | 6.2_p20200523-r1 |
| Alpine:v3.13 | ncurses | before 6.2_p20200530-r0 | 6.2_p20200530-r0 |
| Debian:10 | ncurses | before 6.1+20181013-2+deb10u5 | 6.1+20181013-2+deb10u5 |
| Debian:12 | ncurses | before 6.2+20200912-1 | 6.2+20200912-1 |
| openSUSE:Leap 15.2 | ncurses | before 6.1-lp152.8.3.1 | 6.1-lp152.8.3.1 |
| openSUSE:Leap 15.3 | ncurses | before 6.1-5.9.1 | 6.1-5.9.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP2 | ncurses | before 6.1-5.9.1 | 6.1-5.9.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | ncurses | before 5.9-75.1 | 5.9-75.1 |
Same product
invisible-island: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-10685In ncurses 6.0, there is a format string vulnerability in the fmt_entry function.40Plan
- CVE-2017-10684In ncurses 6.0, there is a stack-based buffer overflow in the fmt_entry function.40Plan
- CVE-2017-16879Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of…32Monitor
Published before and after this one in the same product
- ← EarlierCVE-2019-17594Oct 14, 2019 · There is a heap-based buffer over-read in the _nc_find_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before…21Monitor
- ← EarlierCVE-2019-17595Oct 14, 2019 · There is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before…22Monitor
- Later →CVE-2022-29458Apr 18, 2022 · ncurses 6.3 before patch 20220416 has an out-of-bounds read and segmentation violation in convert_strings in tinfo/read_entry.c in the…28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:ncurses | 6.2_p20200523-r1 · Alpine:v3.12 | Package registry (OSV) |
| debian:ncurses | 6.2+20200912-1 · Debian:12 | Package registry (OSV) |
| opensuse:ncurses | 6.1-lp152.8.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| suse:ncurses | 6.1-5.9.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (2)
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- seclists.org/fulldisclosure/2022/Oct/28
- seclists.org/fulldisclosure/2022/Oct/41
- seclists.org/fulldisclosure/2022/Oct/43
- seclists.org/fulldisclosure/2022/Oct/45
- lists.debian.org/debian-lts-announce/2023/12/msg00004.html
- lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html
- security.netapp.com/advisory/ntap-20230427-0012/
- support.apple.com/kb/HT213443
- support.apple.com/kb/HT213444
- support.apple.com/kb/HT213488
Vendor advisories and official records. Exploit/PoC links are deliberately left out.