cve.bz

CVE-2023-29491 invisible-island ncurses: Out-of-bounds Write

7.8 highExploit referenceEPSS 1.0%Fix available

High (7.8) in invisible-island ncurses. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-11-27. 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-787 Out-of-bounds Write
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-2023-29491 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-29491?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-29491?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-2023-29491 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.

Badge for a README or a site

CVE-2023-29491

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-29491](https://cve.bz/cve/badge/CVE-2023-29491.svg)](https://cve.bz/cve/CVE-2023-29491)

HTML:

<a href="https://cve.bz/cve/CVE-2023-29491"><img src="https://cve.bz/cve/badge/CVE-2023-29491.svg" alt="CVE-2023-29491"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
invisible-island:ncursesbefore 6.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ncurses6.1+20181013-2+deb10u5DLA-3682-1
Debian12, 13, 14ncurses6.4-3DEBIAN-CVE-2023-29491
Ubuntu18.04:LTSncurses6.1-1ubuntu1.18.04.1UBUNTU-CVE-2023-29491 USN-6099-1
Ubuntu20.04:LTSncurses6.2-0ubuntu2.1UBUNTU-CVE-2023-29491 USN-6099-1
Ubuntu22.04:LTSncurses6.3-2ubuntu0.1UBUNTU-CVE-2023-29491 USN-6099-1
UbuntuPro:14.04:LTSncurses5.9+20140118-1ubuntu1+esm3UBUNTU-CVE-2023-29491 USN-6099-1
UbuntuPro:16.04:LTSncurses6.0+20160213-1ubuntu1+esm3UBUNTU-CVE-2023-29491 USN-6099-1
Red Hatenterprise_linux:8::baseosncurses, ncurses-base, ncurses-libs and 9 more0:6.1-9.20180224.el8_8.1RHSA-2023:5249
Red Hatenterprise_linux:9::appstreamncurses-term, ncurses-devel, ncurses-c++-libs and 5 more0:6.2-10.20210508.el9RHSA-2023:6698
Red Hatenterprise_linux:9::baseosncurses, ncurses-base, ncurses-libs and 5 more0:6.2-10.20210508.el9RHSA-2023:6698
Red Hatrhel_eus:8.6::baseosncurses, ncurses-base, ncurses-libs and 9 more0:6.1-9.20180224.el8_6.1RHSA-2024:0416
Red Hatrhel_eus:9.2::appstreamncurses-term, ncurses-devel, ncurses-c++-libs and 5 more0:6.2-8.20210508.el9_2.1RHSA-2023:7361
Red Hatrhel_eus:9.2::baseosncurses, ncurses-base, ncurses-libs and 5 more0:6.2-8.20210508.el9_2.1RHSA-2023:7361
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 5 morencurses6.1-150000.5.15.1SUSE-SU-2023:2111-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5ncurses5.9-81.1SUSE-SU-2023:2112-1
openSUSELeap 15.4, Leap Micro 5.3ncurses6.1-150000.5.15.1SUSE-SU-2023:2111-1
AlmaLinux8ncurses, ncurses-base, ncurses-libs and 4 more6.1-9.20180224.el8_8.1ALSA-2023:5249
AlmaLinux9ncurses, ncurses-base, ncurses-libs and 3 more6.2-10.20210508.el9ALSA-2023:6698
Alpinev3.15ncurses6.3_p20211120-r2ALPINE-CVE-2023-29491
Alpinev3.16ncurses6.3_p20220521-r1ALPINE-CVE-2023-29491
Alpinev3.17ncurses6.3_p20221119-r1ALPINE-CVE-2023-29491
Alpinev3.19, v3.20, v3.21 and 3 morencurses6.4_p20230424-r0ALPINE-CVE-2023-29491
Azure Linux2ncurses6.4-1AZL-26241

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; AlmaLinux's OSV database, MIT; 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 Moderate.

Red Hat's statement

The impact of this CVE is rated Moderate for several reasons which make it difficult to exploit or limited consequences:

* The only outcome is memory corruption possibly leading to a crash

* There is no trace of privilege escalation

* It cannot be triggered remotely, an attacker must have local access

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ncurses-0:6.1-9.20180224.el8_8.1Fixed 2023-09-19RHSA-2023:5249
Red Hat Enterprise Linux 8.6 Extended Update Supportncurses-0:6.1-9.20180224.el8_6.1Fixed 2024-01-25RHSA-2024:0416
Red Hat Enterprise Linux 9ncurses-0:6.2-10.20210508.el9Fixed 2023-11-07RHSA-2023:6698
Red Hat Enterprise Linux 9.2 Extended Update Supportncurses-0:6.2-8.20210508.el9_2.1Fixed 2023-11-21RHSA-2023:7361
Red Hat Enterprise Linux 6ncursesOut of support scope
Red Hat Enterprise Linux 7ncursesOut of support scope

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-2023-29491.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON