# CVE-2023-29491: ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malfo…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.98%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-14T00:00:00.000Z
- Modified: 2026-10-14T23:17:18.180Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- invisible-island ncurses: before 6.4

## References

- <http://www.openwall.com/lists/oss-security/2023/04/19/11> (exploit, mailing-list, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2023/04/13/4> (mailing-list, patch)
- <http://ncurses.scripts.mit.edu/?p=ncurses.git%3Ba=commit%3Bh=eb51b1ea1f75a0ec17c9c5937cb28df1e8eeec56>
- <https://www.openwall.com/lists/oss-security/2023/04/12/5> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2023/04/19/10> (mailing-list, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230517-0009/>
- <https://support.apple.com/kb/HT213843>
- <https://support.apple.com/kb/HT213844>
- <https://support.apple.com/kb/HT213845>
- <https://lists.debian.org/debian-lts-announce/2023/12/msg00004.html> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LU4MYMKFEZQ5VSCVLRIZGDQOUW3T44GT/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LU4MYMKFEZQ5VSCVLRIZGDQOUW3T44GT/>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-202008.html>

## Sources

- CVE List: [CVE-2023-29491](https://www.cve.org/CVERecord?id=CVE-2023-29491), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2023-29491](https://nvd.nist.gov/vuln/detail/CVE-2023-29491), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2023-29491 · Whole record: https://cve.day/CVE-2023-29491.json · Rebuilt by cve.day 2026-11-25T22:58:23.486Z
