---
id: CVE-2022-29458
title: >-
  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 terminfo library.
summary: >-
  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 terminfo library.
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H'
cwe:
  - CWE-125
  - CWE-125
vendor: gnu
product: ncurses
affected:
  - ncurses < 6.3
  - ncurses = 6.3
  - macos < 13.0
  - debian_linux = 10.0
patched:
  - ncurses 6.3
  - macos 13.0
published: '2022-04-18'
updated: '2026-07-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-29458'
references:
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/28'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/41'
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2022/10/msg00037.html'
    label: cve@mitre.org
  - url: 'https://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00014.html'
    label: cve@mitre.org
  - url: 'https://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00016.html'
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT213488'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/28'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/41'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2022/10/msg00037.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00014.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00016.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT213488'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.01341
epssPercentile: 0.70116
ingestedAt: '2026-07-23T19:19:13.111Z'
---

## Overview

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 terminfo library.

## Affected

- `ncurses < 6.3`
- `ncurses = 6.3`
- `macos < 13.0`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `ncurses 6.3`
- `macos 13.0`
