---
title: "CVE-2021-39537"
canonical_url: "https://pkgseek.com/security/CVE-2021-39537"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2021-39537

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

CVE-2021-39537 is rated HIGH (8.8), with 32 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (8.8)
- **Affected builds**: 32
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | lib32ncurses6 | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | lib32ncurses-dev | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | lib32ncursesw6 | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | lib32tinfo6 | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | libncurses5-dev | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | libncurses6 | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | libncurses-dev | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | libncursesw5-dev | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | libncursesw6 | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | libtinfo6 | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | libtinfo-dev | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | ncurses-base | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | ncurses-bin | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | ncurses-doc | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | ncurses-examples | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | focal | ncurses-term | 6.2-0ubuntu2 | 6.2-0ubuntu2.1 |
| Ubuntu | jammy | lib32ncurses6 | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | lib32ncurses-dev | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | lib32ncursesw6 | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | lib32tinfo6 | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | libncurses5-dev | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | libncurses6 | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | libncurses-dev | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | libncursesw5-dev | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | libncursesw6 | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | libtinfo6 | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | libtinfo-dev | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | ncurses-base | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | ncurses-bin | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | ncurses-doc | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | ncurses-examples | 6.3-2 | 6.3-2ubuntu0.1 |
| Ubuntu | jammy | ncurses-term | 6.3-2 | 6.3-2ubuntu0.1 |
