CVE-2022-29458: ncurses · Out-of-bounds Read
Source CVE Database V5
Not known to be exploited · CVSS 7.1 High.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 1.3% chance of exploitation in 30 days – higher than 70% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Apr 2022
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Debiandebian/ncursespkg:deb/debian/ncursesOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2022-29458 effectively, European organizations should: 1) Immediately apply the official patch released for ncurses version 6.3 dated April 16, 2022, or upgrade to a later secure version. 2) Conduct an inventory of all systems running ncurses 6.3 or earlier, including embedded devices and containers, to ensure comprehensive coverage. 3) Restrict local user access to only trusted personnel and enforce strict user account controls to minimize the risk of exploitation requiring local access and user interaction. 4) Implement monitoring and alerting for unusual application crashes or segmentation faults related to terminal-based applications, which may indicate exploitation attempts. 5) Employ memory protection mechanisms such as Address Space Layout Randomization (ASLR) and stack canaries to reduce the likelihood of successful exploitation. 6) For environments where patching is delayed, consider applying application-level mitigations such as limiting the use of vulnerable terminal functions or isolating critical systems from untrusted users. 7) Educate users about the risks of interacting with untrusted terminal inputs or scripts that might trigger the vulnerability. 8) Regularly review and update incident response plans to include scenarios involving local privilege escalation or denial of service via terminal library vulnerabilities.
Description
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.
References
- lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00014.html (opens in a new tab)
- lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00016.html (opens in a new tab)
- support.apple.com/kb/HT213488 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2022/10/msg00037.html (opens in a new tab)
- seclists.org/fulldisclosure/2022/Oct/41 (opens in a new tab)
- seclists.org/fulldisclosure/2022/Oct/28 (opens in a new tab)