Vulnerability · Published Apr 18, 2022 · Assigned by mitre
CVE-2022-29458
High 7.1
In plain English
A high-severity out-of-bounds read in the ncurses package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.1High
Exploit odds (30 days)1.3%top 28.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | ncurses | 6.3_p20220416-r0 | ALPINE-CVE-2022-29458 |
| Alpine:v3.21 | ncurses | 6.3_p20220416-r0 | ALPINE-CVE-2022-29458 |
| Alpine:v3.22 | ncurses | 6.3_p20220416-r0 | ALPINE-CVE-2022-29458 |
| Alpine:v3.23 | ncurses | 6.3_p20220416-r0 | ALPINE-CVE-2022-29458 |
| Alpine:v3.24 | ncurses | 6.3_p20220416-r0 | ALPINE-CVE-2022-29458 |
| Debian:12 | ncurses | 6.3+20220423-1 | DEBIAN-CVE-2022-29458 |
| Debian:13 | ncurses | 6.3+20220423-1 | DEBIAN-CVE-2022-29458 |
| Debian:14 | ncurses | 6.3+20220423-1 | DEBIAN-CVE-2022-29458 |
| Rocky Linux:9 | ncurses | 0:6.2-10.20210508.el9_6.2 | RLSA-2025:12876 |
| Ubuntu:22.04:LTS | ncurses | 6.3-2ubuntu0.1 | USN-6099-1 |
| Ubuntu:22.04:LTS | ncurses | 6.3-2ubuntu0.1 | UBUNTU-CVE-2022-29458 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
References
- https://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00014.html
- https://lists.gnu.org/archive/html/bug-ncurses/2022-04/msg00016.html
- https://support.apple.com/kb/HT213488
- [debian-lts-announce] 20221029 [SECURITY] [DLA 3167-1] ncurses security update mailing-list
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list