Description
There is an illegal address access in the _nc_save_str function in alloc_entry.c in ncurses 6.0. It will lead to a remote denial of service attack.
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.0+20170827-1 | — |
| Debian 13 | ncurses | 6.0+20170827-1 | — |
| Debian 12 | ncurses | 6.0+20170827-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | ncurses | 6.0+20160213-1ubuntu1+esm1 | USN-5448-1 |
| Ubuntu Pro 14.04 LTS | ncurses | 5.9+20140118-1ubuntu1+esm1 | USN-5448-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | ncurses | 5.9-55.1 | SUSE-SU-2018:0284-1, SUSE-SU-2018:0120-1 |
| SLES 12 SP2 | ncurses | 5.9-55.1 | SUSE-SU-2018:0284-1, SUSE-SU-2018:0120-1 |
| SLES 11 SP4 | ncurses | 5.6-93.12.1 | SUSE-SU-2017:3183-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | ncurses | 5.9-55.1 | SUSE-SU-2018:0284-1, SUSE-SU-2018:0120-1 |
| SLES for SAP 12 SP2 | ncurses | 5.9-55.1 | SUSE-SU-2018:0284-1, SUSE-SU-2018:0120-1 |
| SLES for SAP 11 SP4 | ncurses | 5.6-93.12.1 | SUSE-SU-2017:3183-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.6 | ncurses | 6.0_p20170930-r0 | — |
| Alpine v3.5 | ncurses | 6.0_p20170701-r0 | — |
| Alpine v3.4 | ncurses | 6.0_p20170701-r0 | — |
| Alpine v3.3 | ncurses | 6.0_p20170701-r0 | — |
Advisories 4
- USN-5448-1 ncurses vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- SUSE-SU-2017:3183-1 Security update for ncurses SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0120-1 Security update for ncurses SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0284-1 Security update for ncurses SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201804-13 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1484276
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list