CVEfocus › CVE database › CVE-2022-29458

CVE-2022-29458

CVSS 7.1 HighEPSS 1.3% (higher than 72% of CVEs)Published 2022-04-18Updated 2025-06-09Assigner: mitre

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.

CWE-125

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
2Fix pending
19Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04ncursesFixed6.3-2ubuntu0.1UBUNTU-CVE-2022-29458
Ubuntu 20.04ncursesFixed6.2-0ubuntu2.1UBUNTU-CVE-2022-29458
Ubuntu 18.04ncursesFixed6.1-1ubuntu1.18.04.1UBUNTU-CVE-2022-29458
Ubuntu 16.04ncursesFix pending6.0+20160213-1ubuntu1+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-29458
Ubuntu 14.04ncursesFix pending5.9+20140118-1ubuntu1+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-29458
Debian 14ncursesFixed6.3+20220423-1DEBIAN-CVE-2022-29458
Debian 13ncursesFixed6.3+20220423-1DEBIAN-CVE-2022-29458
Debian 12ncursesFixed6.3+20220423-1DEBIAN-CVE-2022-29458
Red Hat Enterprise Linux 9ncursesFixed0:6.2-10.20210508.el9_6.2RHSA-2025:12876
Red Hat Enterprise Linux 9ncurses-baseFixed0:6.2-10.20210508.el9_6.2RHSA-2025:12876
Red Hat Enterprise Linux 9ncurses-c++-libsFixed0:6.2-10.20210508.el9_6.2RHSA-2025:12876
Red Hat Enterprise Linux 9ncurses-develFixed0:6.2-10.20210508.el9_6.2RHSA-2025:12876
Red Hat Enterprise Linux 9ncurses-libsFixed0:6.2-10.20210508.el9_6.2RHSA-2025:12876
Red Hat Enterprise Linux 9ncurses-termFixed0:6.2-10.20210508.el9_6.2RHSA-2025:12876
Red Hat Enterprise Linux 8ncursesNot affected
Red Hat Enterprise Linux 8ncurses-baseNot affected
Red Hat Enterprise Linux 8ncurses-c++-libsNot affected
Red Hat Enterprise Linux 8ncurses-compat-libsNot affected
Red Hat Enterprise Linux 8ncurses-develNot affected
Red Hat Enterprise Linux 8ncurses-libsNot affected
Red Hat Enterprise Linux 8ncurses-termNot affected
Red Hat Enterprise Linux 7ncursesNot affected
Red Hat Enterprise Linux 7ncurses-baseNot affected
Red Hat Enterprise Linux 7ncurses-develNot affected
Red Hat Enterprise Linux 7ncurses-libsNot affected
Red Hat Enterprise Linux 7ncurses-staticNot affected
Red Hat Enterprise Linux 7ncurses-termNot affected
Red Hat Enterprise Linux 6ncursesNot affected
Red Hat Enterprise Linux 6ncurses-baseNot affected
Red Hat Enterprise Linux 6ncurses-develNot affected
Red Hat Enterprise Linux 6ncurses-libsNot affected
Red Hat Enterprise Linux 6ncurses-staticNot affected
Red Hat Enterprise Linux 6ncurses-termNot affected
Rocky Linux 9ncursesFixed0:6.2-10.20210508.el9_6.2RLSA-2025:12876
Alpine Linux 3.24ncursesFixed6.3_p20220416-r0ALPINE-CVE-2022-29458
Alpine Linux 3.23ncursesFixed6.3_p20220416-r0ALPINE-CVE-2022-29458
Alpine Linux 3.22ncursesFixed6.3_p20220416-r0ALPINE-CVE-2022-29458
Alpine Linux 3.21ncursesFixed6.3_p20220416-r0ALPINE-CVE-2022-29458
Alpine Linux 3.20ncursesFixed6.3_p20220416-r0ALPINE-CVE-2022-29458
Alpine Linux 3.19ncursesFixed6.3_p20220416-r0ALPINE-CVE-2022-29458
Alpine Linux 3.18ncursesFixed6.3_p20220416-r0ALPINE-CVE-2022-29458
Alpine Linux 3.17ncursesFixed6.3_p20220416-r0ALPINE-CVE-2022-29458
Alpine Linux 3.16ncursesFixed6.3_p20220416-r0ALPINE-CVE-2022-29458
Alpine Linux 3.15ncursesFixed6.3_p20211120-r1ALPINE-CVE-2022-29458
Alpine Linux 3.14ncursesFixed6.2_p20210612-r1ALPINE-CVE-2022-29458
Alpine Linux 3.13ncursesFixed6.2_p20210109-r1ALPINE-CVE-2022-29458

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.