CVE-2022-29458
published 2022-04-18CVE-2022-29458: 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.
PriorityP424high7.1CVSS 3.1
AVLACLPRNUIRSUCHINAH
EPSS
1.34%
68.2th percentile
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.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos | < 13.0 | 13.0 |
| apple | macos_ventura | — | — |
| debian | debian_linux | — | — |
| debian | ncurses | < ncurses 6.3+20220423-1 (bookworm) | ncurses 6.3+20220423-1 (bookworm) |
| gnu | ncurses | < 6.3 | 6.3 |
| gnu | ncurses | — | — |
| gnu | ncurses | >= 0 < 6.2+20201114-2+deb11u1 | 6.2+20201114-2+deb11u1 |
| gnu | ncurses | >= 0 < 6.3+20220423-1 | 6.3+20220423-1 |
| gnu | ncurses | >= 0 < 6.3+20220423-1 | 6.3+20220423-1 |
| gnu | ncurses | >= 0 < 6.3+20220423-1 | 6.3+20220423-1 |
| gnu | ncurses | >= 0 < 6.1-1ubuntu1.18.04.1 | 6.1-1ubuntu1.18.04.1 |
| gnu | ncurses | >= 0 < 6.2-0ubuntu2.1 | 6.2-0ubuntu2.1 |
| gnu | ncurses | >= 0 < 6.3-2ubuntu0.1 | 6.3-2ubuntu0.1 |
| gnu | ncurses | >= 0 < 5.9+20140118-1ubuntu1+esm3 | 5.9+20140118-1ubuntu1+esm3 |
| gnu | ncurses | >= 0 < 5.9+20140118-1ubuntu1+esm2 | 5.9+20140118-1ubuntu1+esm2 |
| gnu | ncurses | >= 0 < 6.0+20160213-1ubuntu1+esm3 | 6.0+20160213-1ubuntu1+esm3 |
| gnu | ncurses | >= 0 < 6.0+20160213-1ubuntu1+esm2 | 6.0+20160213-1ubuntu1+esm2 |
| msrc | cbl2_ncurses_6.3-2_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_ncurses_6.3-2_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:P
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian7.1HIGH
vendor_msrc7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
ncurses up to 6.3 tinfo/read_entry.c convert_strings out-of-bounds (EUVD-2022-33796 / Nessus ID 241454)
vuldb·2026-05-23·CVSS 7.1
CVE-2022-29458 [HIGH] ncurses up to 6.3 tinfo/read_entry.c convert_strings out-of-bounds (EUVD-2022-33796 / Nessus ID 241454)
A vulnerability categorized as problematic has been discovered in ncurses up to 6.3. This issue affects the function convert_strings of the file tinfo/read_entry.c. Executing a manipulation can lead to out-of-bounds read.
The identification of this vulnerability is CVE-2022-29458. The attack needs to be done within the local network. There is no exploit available.
A patch should be applied to remediate this issue.
VulDB
Apple macOS ncurses denial of service (HT213488 / EUVD-2022-33796)
vuldb·2026-05-23·CVSS 7.1
CVE-2022-29458 [HIGH] Apple macOS ncurses denial of service (HT213488 / EUVD-2022-33796)
A vulnerability, which was classified as critical, was found in Apple macOS. The affected element is an unknown function of the component ncurses. The manipulation results in denial of service.
This vulnerability is known as CVE-2022-29458. It is possible to launch the attack remotely. No exploit is available.
You should upgrade the affected component.
OSV
ncurses vulnerabilities
osv·2023-05-23·CVSS 5.3
CVE-2019-17594 [MEDIUM] ncurses vulnerabilities
ncurses vulnerabilities
It was discovered that ncurses was incorrectly performing bounds
checks when processing invalid hashcodes. An attacker could possibly
use this issue to cause a denial of service or to expose sensitive
information. This issue only affected Ubuntu 18.04 LTS.
(CVE-2019-17594)
It was discovered that ncurses was incorrectly handling
end-of-string characters when processing terminfo and termcap files.
An attacker could possibly use this issue to cause a denial of
service or to expose sensitive information. This issue only affected
Ubuntu 18.04 LTS. (CVE-2019-17595)
It was discovered that ncurses was incorrectly handling
end-of-string characters when converting between termcap and
terminfo formats. An attacker could possibly use this issue to cause
a denial of service o
OSV
ncurses vulnerabilities
osv·2022-06-14·CVSS 7.8
CVE-2017-16879 [HIGH] ncurses vulnerabilities
ncurses vulnerabilities
Hosein Askari discovered that ncurses was incorrectly performing
memory management operations when dealing with long filenames while
writing structures into the file system. An attacker could possibly
use this issue to cause a denial of service or execute arbitrary
code. (CVE-2017-16879)
Chung-Yi Lin discovered that ncurses was incorrectly handling access
to invalid memory areas when parsing terminfo or termcap entries where
the use-name had invalid syntax. An attacker could possibly use this
issue to cause a denial of service. (CVE-2018-19211)
It was discovered that ncurses was incorrectly performing bounds
checks when processing invalid hashcodes. An attacker could possibly
use this issue to cause a denial of service or to expose sensitive
information. (CVE-201
GHSA
GHSA-jh4f-5j2m-4v9c: ncurses 6
ghsa_unreviewed·2022-04-19
CVE-2022-29458 [HIGH] CWE-125 GHSA-jh4f-5j2m-4v9c: ncurses 6
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.
OSV
CVE-2022-29458: ncurses 6
osv·2022-04-18·CVSS 7.1
CVE-2022-29458 [HIGH] CVE-2022-29458: ncurses 6
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.
Ubuntu
ncurses vulnerabilities
vendor_ubuntu·2023-05-23·CVSS 5.3
CVE-2021-39537 [MEDIUM] ncurses vulnerabilities
Title: ncurses vulnerabilities
Summary: Several security issues were fixed in ncurses.
It was discovered that ncurses was incorrectly performing bounds
checks when processing invalid hashcodes. An attacker could possibly
use this issue to cause a denial of service or to expose sensitive
information. This issue only affected Ubuntu 18.04 LTS.
(CVE-2019-17594)
It was discovered that ncurses was incorrectly handling
end-of-string characters when processing terminfo and termcap files.
An attacker could possibly use this issue to cause a denial of
service or to expose sensitive information. This issue only affected
Ubuntu 18.04 LTS. (CVE-2019-17595)
It was discovered that ncurses was incorrectly handling
end-of-string characters when converting between termcap and
terminfo formats. An attac
Apple
CVE-2022-29458: macOS Ventura 13
vendor_apple·2022-10-24·CVSS 7.1
CVE-2022-29458 [HIGH] CVE-2022-29458: macOS Ventura 13
Apple Security Update: About the security content of macOS Ventura 13
Product: macOS Ventura
Version: 13
CVE: CVE-2022-29458
Component: CVE-2022-29458
Ubuntu
ncurses vulnerabilities
vendor_ubuntu·2022-06-14·CVSS 7.8
CVE-2017-16879 [HIGH] ncurses vulnerabilities
Title: ncurses vulnerabilities
Summary: Several security issues were fixed in ncurses.
Hosein Askari discovered that ncurses was incorrectly performing
memory management operations when dealing with long filenames while
writing structures into the file system. An attacker could possibly
use this issue to cause a denial of service or execute arbitrary
code. (CVE-2017-16879)
Chung-Yi Lin discovered that ncurses was incorrectly handling access
to invalid memory areas when parsing terminfo or termcap entries where
the use-name had invalid syntax. An attacker could possibly use this
issue to cause a denial of service. (CVE-2018-19211)
It was discovered that ncurses was incorrectly performing bounds
checks when processing invalid hashcodes. An attacker could possibly
use this issue to cause
Red Hat
ncurses: segfaulting OOB read
vendor_redhat·2022-04-18·CVSS 7.1
CVE-2022-29458 [HIGH] CWE-125 ncurses: segfaulting OOB read
ncurses: segfaulting OOB read
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.
A segmentation fault vulnerability was found in ncurses's convert_strings() function of tinfo/read_entry.c file. This flaw occurs due to corrupted terminfo data, triggering an out-of-bounds read error.
Statement: Red Hat Product Security classifies this issue as having a Low security impact. This vulnerability is present in the tic program which is only used at build-time and does not exist in libncurses. The exploit can only be triggered if the user performs a specific action, such as processing terminfo from source to compiled form using trusted input, which limits the practical impact.
Package: ncurses
Microsoft
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.
vendor_msrc·2022-04-12·CVSS 7.1
CVE-2022-29458 [HIGH] CWE-125 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre:
Debian
CVE-2022-29458: ncurses - ncurses 6.3 before patch 20220416 has an out-of-bounds read and segmentation vio...
vendor_debian·2022·CVSS 7.1
CVE-2022-29458 [HIGH] CVE-2022-29458: ncurses - ncurses 6.3 before patch 20220416 has an out-of-bounds read and segmentation vio...
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.
Scope: local
bookworm: resolved (fixed in 6.3+20220423-1)
bullseye: resolved (fixed in 6.2+20201114-2+deb11u1)
forky: resolved (fixed in 6.3+20220423-1)
sid: resolved (fixed in 6.3+20220423-1)
trixie: resolved (fixed in 6.3+20220423-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41https://lists.debian.org/debian-lts-announce/2022/10/msg00037.htmlhttps://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00014.htmlhttps://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00016.htmlhttps://support.apple.com/kb/HT213488http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41https://lists.debian.org/debian-lts-announce/2022/10/msg00037.htmlhttps://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00014.htmlhttps://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00016.htmlhttps://support.apple.com/kb/HT213488
2022-04-18
Published