CVE & CISA-KEV Catalog

CVE-2021-39537

HIGHEPSS 86th pctl
8.8
CVSS v3
NVD

Description

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

How to fix

Remediation Available
ncursesDebian
Fixed in:6.2+20200912-1CVE-2021-39537
Fixed in:6.2+20200912-1CVE-2021-39537
Fixed in:6.2+20200912-1CVE-2021-39537
Fixed in:6.2+20200912-1CVE-2021-39537
lib32ncurses5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
lib32ncurses6Ubuntu
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
lib32ncursesw5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
lib32ncursesw6Ubuntu
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
lib32tinfo5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
lib32tinfo6Ubuntu
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
lib64ncurses5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
lib64ncurses6Ubuntu
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
lib64ncursesw6Ubuntu
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
lib64tinfo5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
lib64tinfo6Ubuntu
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
libncurses5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm2USN-5477-1
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm2USN-5477-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
libncurses6Ubuntu
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
libncursesw5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
libncursesw6Ubuntu
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
libtinfo5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm2USN-5477-1
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm2USN-5477-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
libtinfo6Ubuntu
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
libx32ncurses5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
libx32ncursesw5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
libx32tinfo5Ubuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
ncursesUbuntu
Fixed in:5.9+20140118-1ubuntu1+esm2USN-5477-1
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm2USN-5477-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1
ncurses-binUbuntu
Fixed in:5.9+20140118-1ubuntu1+esm3USN-6099-1
Fixed in:5.9+20140118-1ubuntu1+esm2USN-5477-1
Fixed in:6.0+20160213-1ubuntu1+esm3USN-6099-1
Fixed in:6.0+20160213-1ubuntu1+esm2USN-5477-1
Fixed in:6.1-1ubuntu1.18.04.1USN-6099-1
Fixed in:6.2-0ubuntu2.1USN-6099-1
Fixed in:6.3-2ubuntu0.1USN-6099-1
Fixed in:6.3+20220423-2ubuntu0.1USN-6099-1
Fixed in:6.4-2ubuntu0.1USN-6099-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

3.00%probability of exploitation in 30 days
86thpercentile

Elevated risk: more likely to be exploited than 86% of all known CVEs.

References

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2021-39537
CVE-2021-39537 severity badge

Markdown

[![CVE-2021-39537](https://tridentstack.com/cve/badge/CVE-2021-39537.svg)](https://tridentstack.com/cve/CVE-2021-39537)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-39537"><img src="https://tridentstack.com/cve/badge/CVE-2021-39537.svg" alt="CVE-2021-39537"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.