CVEfocus › CVE database › CVE-2023-29491

CVE-2023-29491

EPSS 0.5% (higher than 32% of CVEs)Published 2023-04-14Updated 2026-10-14Assigner: mitre

ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, 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

41Fixed
2Fix pending
12Will not fix

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-2023-29491
Ubuntu 20.04ncursesFixed6.2-0ubuntu2.1UBUNTU-CVE-2023-29491
Ubuntu 18.04ncursesFixed6.1-1ubuntu1.18.04.1UBUNTU-CVE-2023-29491
Ubuntu 16.04ncursesFix pending6.0+20160213-1ubuntu1+esm3 (Ubuntu Pro)UBUNTU-CVE-2023-29491
Ubuntu 14.04ncursesFix pending5.9+20140118-1ubuntu1+esm3 (Ubuntu Pro)UBUNTU-CVE-2023-29491
Debian 14ncursesFixed6.4-3DEBIAN-CVE-2023-29491
Debian 13ncursesFixed6.4-3DEBIAN-CVE-2023-29491
Debian 12ncursesFixed6.4-3DEBIAN-CVE-2023-29491
Red Hat Enterprise Linux 9ncursesFixed0:6.2-10.20210508.el9RHSA-2023:6698
Red Hat Enterprise Linux 9ncurses-baseFixed0:6.2-10.20210508.el9RHSA-2023:6698
Red Hat Enterprise Linux 9ncurses-c++-libsFixed0:6.2-10.20210508.el9RHSA-2023:6698
Red Hat Enterprise Linux 9ncurses-develFixed0:6.2-10.20210508.el9RHSA-2023:6698
Red Hat Enterprise Linux 9ncurses-libsFixed0:6.2-10.20210508.el9RHSA-2023:6698
Red Hat Enterprise Linux 9ncurses-termFixed0:6.2-10.20210508.el9RHSA-2023:6698
Red Hat Enterprise Linux 8ncursesFixed0:6.1-9.20180224.el8_8.1RHSA-2023:5249
Red Hat Enterprise Linux 8ncurses-baseFixed0:6.1-9.20180224.el8_8.1RHSA-2023:5249
Red Hat Enterprise Linux 8ncurses-c++-libsFixed0:6.1-9.20180224.el8_8.1RHSA-2023:5249
Red Hat Enterprise Linux 8ncurses-compat-libsFixed0:6.1-9.20180224.el8_8.1RHSA-2023:5249
Red Hat Enterprise Linux 8ncurses-develFixed0:6.1-9.20180224.el8_8.1RHSA-2023:5249
Red Hat Enterprise Linux 8ncurses-libsFixed0:6.1-9.20180224.el8_8.1RHSA-2023:5249
Red Hat Enterprise Linux 8ncurses-termFixed0:6.1-9.20180224.el8_8.1RHSA-2023:5249
Red Hat Enterprise Linux 7ncursesWill not fix
Out of support scope
Red Hat Enterprise Linux 7ncurses-baseWill not fix
Out of support scope
Red Hat Enterprise Linux 7ncurses-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7ncurses-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7ncurses-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 7ncurses-termWill not fix
Out of support scope
Red Hat Enterprise Linux 6ncursesWill not fix
Out of support scope
Red Hat Enterprise Linux 6ncurses-baseWill not fix
Out of support scope
Red Hat Enterprise Linux 6ncurses-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ncurses-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6ncurses-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 6ncurses-termWill not fix
Out of support scope
AlmaLinux 9ncursesFixed6.2-10.20210508.el9ALSA-2023:6698
AlmaLinux 9ncurses-baseFixed6.2-10.20210508.el9ALSA-2023:6698
AlmaLinux 9ncurses-c++-libsFixed6.2-10.20210508.el9ALSA-2023:6698
AlmaLinux 9ncurses-develFixed6.2-10.20210508.el9ALSA-2023:6698
AlmaLinux 9ncurses-libsFixed6.2-10.20210508.el9ALSA-2023:6698
AlmaLinux 9ncurses-termFixed6.2-10.20210508.el9ALSA-2023:6698
AlmaLinux 8ncursesFixed6.1-9.20180224.el8_8.1ALSA-2023:5249
AlmaLinux 8ncurses-baseFixed6.1-9.20180224.el8_8.1ALSA-2023:5249
AlmaLinux 8ncurses-c++-libsFixed6.1-9.20180224.el8_8.1ALSA-2023:5249
AlmaLinux 8ncurses-compat-libsFixed6.1-9.20180224.el8_8.1ALSA-2023:5249
AlmaLinux 8ncurses-develFixed6.1-9.20180224.el8_8.1ALSA-2023:5249
AlmaLinux 8ncurses-libsFixed6.1-9.20180224.el8_8.1ALSA-2023:5249
AlmaLinux 8ncurses-termFixed6.1-9.20180224.el8_8.1ALSA-2023:5249
Alpine Linux 3.24ncursesFixed6.4_p20230424-r0ALPINE-CVE-2023-29491
Alpine Linux 3.23ncursesFixed6.4_p20230424-r0ALPINE-CVE-2023-29491
Alpine Linux 3.22ncursesFixed6.4_p20230424-r0ALPINE-CVE-2023-29491
Alpine Linux 3.21ncursesFixed6.4_p20230424-r0ALPINE-CVE-2023-29491
Alpine Linux 3.20ncursesFixed6.4_p20230424-r0ALPINE-CVE-2023-29491
Alpine Linux 3.19ncursesFixed6.4_p20230424-r0ALPINE-CVE-2023-29491
Alpine Linux 3.17ncursesFixed6.3_p20221119-r1ALPINE-CVE-2023-29491
Alpine Linux 3.16ncursesFixed6.3_p20220521-r1ALPINE-CVE-2023-29491
Alpine Linux 3.15ncursesFixed6.3_p20211120-r2ALPINE-CVE-2023-29491

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

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.