cve.bz

CVE-2022-29458 Out-of-bounds Read

7.1 highExploit referenceEPSS 1.3%

High (7.1). EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-06-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-29458 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-29458?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-29458?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-29458 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
invisible-island:ncursesbefore 6.3
invisible-island:ncurses6.3
apple:macosbefore 13.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ncurses6.1+20181013-2+deb10u3DLA-3167-1
Debian12, 13, 14ncurses6.3+20220423-1DEBIAN-CVE-2022-29458
Ubuntu18.04:LTSncurses6.1-1ubuntu1.18.04.1UBUNTU-CVE-2022-29458 USN-6099-1
Ubuntu20.04:LTSncurses6.2-0ubuntu2.1UBUNTU-CVE-2022-29458 USN-6099-1
Ubuntu22.04:LTSncurses6.3-2ubuntu0.1UBUNTU-CVE-2022-29458 USN-6099-1
UbuntuPro:14.04:LTSncurses5.9+20140118-1ubuntu1+esm2UBUNTU-CVE-2022-29458 USN-5477-1 USN-6099-1
UbuntuPro:16.04:LTSncurses6.0+20160213-1ubuntu1+esm2UBUNTU-CVE-2022-29458 USN-5477-1 USN-6099-1
Red Hatenterprise_linux:9::appstreamncurses-term, ncurses-devel, ncurses-c++-libs and 5 more0:6.2-10.20210508.el9_6.2RHSA-2025:12876
Red Hatenterprise_linux:9::baseosncurses, ncurses-base, ncurses-libs and 5 more0:6.2-10.20210508.el9_6.2RHSA-2025:12876
Red Hatrhel_e4s:9.0::appstreamncurses-term, ncurses-devel, ncurses-c++-libs and 5 more0:6.2-8.20210508.el9_0.1RHSA-2025:17006
Red Hatrhel_e4s:9.0::baseosncurses, ncurses-base, ncurses-libs and 5 more0:6.2-8.20210508.el9_0.1RHSA-2025:17006
Red Hatrhel_e4s:9.2::appstreamncurses-term, ncurses-devel, ncurses-c++-libs and 5 more0:6.2-8.20210508.el9_2.2RHSA-2025:16418
Red Hatrhel_e4s:9.2::baseosncurses, ncurses-base, ncurses-libs and 5 more0:6.2-8.20210508.el9_2.2RHSA-2025:16418
Red Hatrhel_eus:9.4::appstreamncurses-term, ncurses-devel, ncurses-c++-libs and 5 more0:6.2-10.20210508.el9_4.1RHSA-2025:16414
Red Hatrhel_eus:9.4::baseosncurses, ncurses-base, ncurses-libs and 5 more0:6.2-10.20210508.el9_4.1RHSA-2025:16414
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Module for Basesystem 15 SP3 and 5 morencurses6.1-150000.5.12.1SUSE-SU-2022:2717-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5ncurses5.9-78.1SUSE-SU-2022:2718-1
openSUSELeap 15.3, Leap 15.4ncurses6.1-150000.5.12.1SUSE-SU-2022:2717-1
openSUSELeap Micro 5.2ncurses6.1-150000.5.12.1SUSE-SU-2022:2717-2
Rocky Linux9ncurses0:6.2-10.20210508.el9_6.2RLSA-2025:12876
Alpinev3.13ncurses6.2_p20210109-r1ALPINE-CVE-2022-29458
Alpinev3.14ncurses6.2_p20210612-r1ALPINE-CVE-2022-29458
Alpinev3.15ncurses6.3_p20211120-r1ALPINE-CVE-2022-29458
Alpinev3.16, v3.17, v3.18 and 6 morencurses6.3_p20220416-r0ALPINE-CVE-2022-29458
Azure Linux2ncurses6.3-2AZL-9497

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Product Security classifies this issue as having a Low security impact. This vulnerability is present in the tic program which is only used at build-time and does not exist in libncurses. The exploit can only be triggered if the user performs a specific action, such as processing terminfo from source to compiled form using trusted input, which limits the practical impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9ncurses-0:6.2-10.20210508.el9_6.2Fixed 2025-08-05RHSA-2025:12876
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsncurses-0:6.2-8.20210508.el9_0.1Fixed 2025-09-30RHSA-2025:17006
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsncurses-0:6.2-8.20210508.el9_2.2Fixed 2025-09-23RHSA-2025:16418
Red Hat Enterprise Linux 9.4 Extended Update Supportncurses-0:6.2-10.20210508.el9_4.1Fixed 2025-09-23RHSA-2025:16414
Red Hat Ceph Storage 7rhceph/rhceph-7-rhel9:7Fixed 2025-12-01RHSA-2025:22529
Red Hat Enterprise Linux 6ncursesNot affected
Red Hat Enterprise Linux 7ncursesNot affected
Red Hat Enterprise Linux 8ncursesNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-29458.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON