CVE-2021-39537 Memory corruption in n/a
A heap-based buffer overflow in ncurses allows attackers to execute arbitrary code or cause denial of service via crafted terminfo data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-39537?
CVE-2021-39537 is a high-severity memory corruption vulnerability in Apple Mac Os X, published on 20 Sep 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
Weakness: CWE-787
Which versions are affected by CVE-2021-39537?
It affects 3 products.
Linux distribution packages (13)
ncurses SUSE:Linux Enterprise Micro 5.0 | All versions | 6.1-5.9.1 |
ncurses SUSE:Linux Enterprise Micro 5.1 | All versions | 6.1-5.9.1 |
ncurses SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 6.1-5.9.1 |
ncurses SUSE:Linux Enterprise Module for Basesystem 15 SP3 | All versions | 6.1-5.9.1 |
ncurses SUSE:Linux Enterprise Module for Development Tools 15 SP2 | All versions | 6.1-5.9.1 |
ncurses SUSE:Linux Enterprise Module for Development Tools 15 SP3 | All versions | 6.1-5.9.1 |
ncurses SUSE:Linux Enterprise Module for Legacy 15 SP2 | All versions | 6.1-5.9.1 |
ncurses SUSE:Linux Enterprise Module for Legacy 15 SP3 | All versions | 6.1-5.9.1 |
ncurses SUSE:Linux Enterprise Server 12 SP5 | All versions | 5.9-75.1 |
ncurses SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 5.9-75.1 |
ncurses SUSE:Linux Enterprise Software Development Kit 12 SP5 | All versions | 5.9-75.1 |
ncurses openSUSE:Leap 15.2 | All versions | 6.1-lp152.8.3.1 |
ncurses openSUSE:Leap 15.3 | All versions | 6.1-5.9.1 |
Products include Apple Mac Os X, Apple Macos, Invisible-Island Ncurses.
How do I fix CVE-2021-39537?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-39537 being exploited?
There is no known exploitation of CVE-2021-39537 in the wild and no public exploit code.
Other vulnerabilities in Apple Mac Os X
Sources
Also known as ALPINE-CVE-2021-39537, AZL-6740, CLEANSTART-2026-RK36716, DEBIAN-CVE-2021-39537, GHSA-v5gv-3mwr-6223, JLSEC-2026-451 and 6 more.