PT-2023-5180

CVE-2023-29491

·

Published

2023-04-12

·

Updated

2026-10-01

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions ncurses versions prior to 6.4 20230408
Description The issue is related to security-relevant memory corruption via malformed data in a terminfo database file. This can be triggered by local users when the software is used by a setuid application. The corruption can occur when the software accesses files found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variables. The vulnerability may allow an attacker to impact the confidentiality, integrity, and availability of protected information.
Recommendations For ncurses versions prior to 6.4 20230408, update to version 6.4 20230408 or later to resolve the issue. As a temporary workaround, consider restricting access to the terminfo database files and environment variables TERMINFO and TERM to minimize the risk of exploitation. Avoid using malformed data in the terminfo database files until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
ALSA-2023:5249
ALSA-2023:6698
AZL-26241
CESA-2023_5249
CLEANSTART-2026-JO18362
DLA-3682-1
INFSA-2023_6698
MGASA-2024-0065
OESA-2023-1426
RHSA-2023:5249
RHSA-2023_5249
RHSA-2023:6698
RHSA-2023_6698
RHSA-2023:7361
RHSA-2024:0416
ROSA-SA-2025-2635
SUSE-SU-2023:2111-1
SUSE-SU-2023_2111-1
SUSE-SU-2023:2112-1
SUSE-SU-2023_2112-1
USN-6099-1
Found an issue in the description? Have something to add? Feel free to write us 👾