Skip to content
Fencer Intel
high 7.1

CVE-2022-29458 json

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 term…

published 4y ago modified 3mo ago also EUVD-2022-33796 , JLSEC-2026-452

cvss
7.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 71%
public exploits
0
none known

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.

Patch / fix

  • julia Ncurses_jll 6.4.0+0
  • invisible-island ncurses 6.3
  • apple macos 13.0
  • ncurses Debian 14, Debian 13, Debian 12 6.3+20220423-1

debian advisories DEBIAN-CVE-2022-29458

  • ncurses Ubuntu 18.04 LTS 6.1-1ubuntu1.18.04.1
  • ncurses Ubuntu 20.04 LTS 6.2-0ubuntu2.1
  • ncurses Ubuntu 22.04 LTS 6.3-2ubuntu0.1
  • ncurses Ubuntu Pro 14.04 LTS 5.9+20140118-1ubuntu1+esm2
  • ncurses Ubuntu Pro 16.04 LTS 6.0+20160213-1ubuntu1+esm2

ubuntu advisories UBUNTU-CVE-2022-29458

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ncurses RHEL 9 6.2-10.20210508.el9_6.2
  • ncurses-base RHEL 9 6.2-10.20210508.el9_6.2
  • ncurses-libs RHEL 9 6.2-10.20210508.el9_6.2
  • ncurses-term RHEL 9 6.2-10.20210508.el9_6.2
  • ncurses-c++-libs RHEL 9 6.2-10.20210508.el9_6.2
  • ncurses RHEL 9.0 E4S 6.2-8.20210508.el9_0.1
  • ncurses-base RHEL 9.0 E4S 6.2-8.20210508.el9_0.1
  • ncurses-libs RHEL 9.0 E4S 6.2-8.20210508.el9_0.1

red hat advisories RHSA-2025:17006RHSA-2025:16414RHSA-2025:16418RHSA-2025:12876

  • ncurses SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 5.9-78.1
  • ncurses SLE Module for Legacy 15 SP4, SLE Module for Legacy 15 SP3, SLE Module for Development Tools 15 SP4 +8 more 6.1-150000.5.12.1

suse advisories SUSE-SU-2022:2718-1SUSE-SU-2022:2717-2SUSE-SU-2022:2717-1

  • ncurses Rocky Linux 9 6.2-10.20210508.el9_6.2

rocky linux advisories RLSA-2025:12876

  • ncurses Alpine 3.13 6.2_p20210109-r1
  • ncurses Alpine 3.14 6.2_p20210612-r1
  • ncurses Alpine 3.15 6.3_p20211120-r1
  • ncurses Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 6.3_p20220416-r0

alpine advisories ALPINE-CVE-2022-29458

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ncurses CBL-Mariner 2.0 6.3-2

azure linux advisories AZL-9497

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2022-29458 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-29458 updated cvss 6.1

ncurses: segfaulting OOB read

  • Red Hat Ceph Storage 7 rhceph
    fixed: vendor fix RHSA-2025:22529
  • Red Hat Enterprise Linux AppStream (v. 9) ncurses-term 6.2-10.20210508.el9_6.2, ncurses-c++-libs 6.2-10.20210508.el9_6.2
    fixed: vendor fix RHSA-2025:12876
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) ncurses-term 6.2-8.20210508.el9_0.1, ncurses-c++-libs 6.2-8.20210508.el9_0.1
    fixed: vendor fix RHSA-2025:17006
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) ncurses-term 6.2-8.20210508.el9_2.2, ncurses-c++-libs 6.2-8.20210508.el9_2.2
    fixed: vendor fix RHSA-2025:16418
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) ncurses-term 6.2-10.20210508.el9_4.1, ncurses-c++-libs 6.2-10.20210508.el9_4.1
    fixed: vendor fix RHSA-2025:16414
  • Red Hat Enterprise Linux BaseOS (v. 9) ncurses 6.2-10.20210508.el9_6.2, ncurses-base 6.2-10.20210508.el9_6.2, ncurses-libs 6.2-10.20210508.el9_6.2
    fixed: vendor fix RHSA-2025:12876
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) ncurses 6.2-8.20210508.el9_0.1, ncurses-base 6.2-8.20210508.el9_0.1, ncurses-libs 6.2-8.20210508.el9_0.1
    fixed: vendor fix RHSA-2025:17006
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) ncurses 6.2-8.20210508.el9_2.2, ncurses-base 6.2-8.20210508.el9_2.2, ncurses-libs 6.2-8.20210508.el9_2.2
    fixed: vendor fix RHSA-2025:16418
show 2 more
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) ncurses 6.2-10.20210508.el9_4.1, ncurses-base 6.2-10.20210508.el9_4.1, ncurses-libs 6.2-10.20210508.el9_4.1
    fixed: vendor fix RHSA-2025:16414
  • Red Hat Ceph Storage 7 rhceph Red Hat Enterprise Linux 6 ncurses, ncurses-base, ncurses-libs, ncurses-term Red Hat Enterprise Linux 7 ncurses, ncurses-base, ncurses-libs, ncurses-term Red Hat Enterprise Linux 8 ncurses, ncurses-base, ncurses-libs, ncurses-term, ncurses-c++-libs, ncurses-compat-libs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • lists.gnu.org https://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00014.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
NVD 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CNA 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
NVD 2.0 5.8 AV:N/AC:M/Au:N/C:P/I:N/A:P
OSV 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia Ncurses_jll
<6.4.0+0
6.4.0+0

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.