Description
Buffer Overflow vulnerability in postprocess_terminfo function in tinfo/parse_entry.c:997 in ncurses 6.1 allows remote attackers to cause a denial of service via crafted command.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ncurses | 6.1+20191019-1 | — |
| Debian 13 | ncurses | 6.1+20191019-1 | — |
| Debian 12 | ncurses | 6.1+20191019-1 | — |
| Debian 10 | ncurses | 6.1+20181013-2+deb10u4 | DLA-3586-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | ncurses | 6.1-1ubuntu1.18.04.1+esm1 | USN-6451-1 |
| Ubuntu Pro 16.04 LTS | ncurses | 6.0+20160213-1ubuntu1+esm4 | USN-6451-1 |
| Ubuntu Pro 14.04 LTS | ncurses | 5.9+20140118-1ubuntu1+esm4 | USN-6451-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | ncurses +7 | 6.0-8.20170212.amzn2.1.6 | ALAS2-2024-2412 |
Advisories 7
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-6451-1 ncurses vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- DLA-3586-1 ncurses - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- WID-SEC-2023-3094 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 25, 2024
- ALAS2-2024-2412 Moderate: ncurses security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 9, 2024
- WID-SEC-2023-2587 NetApp ActiveIQ Unified Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 8, 2023
References
- https://github.com/zjuchenyuan/fuzzpoc/blob/master/infotocap_poc5.md
- [debian-lts-announce] 20230928 [SECURITY] [DLA 3586-1] ncurses security update mailing-list
- https://security.netapp.com/advisory/ntap-20231006-0005/
- https://support.apple.com/kb/HT214038
- https://support.apple.com/kb/HT214036
- https://support.apple.com/kb/HT214037
- 20231212 APPLE-SA-12-11-2023-4 macOS Sonoma 14.2 mailing-list
- 20231212 APPLE-SA-12-11-2023-5 macOS Ventura 13.6.3 mailing-list
- 20231212 APPLE-SA-12-11-2023-6 macOS Monterey 12.7.2 mailing-list