CVE-2017-16879
Publication date 22 November 2017
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| ncurses | 22.04 LTS jammy |
Not affected
|
| 20.04 LTS focal |
Not affected
|
|
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial |
Fixed 6.0+20160213-1ubuntu1+esm2
|
|
| 14.04 LTS trusty |
Fixed 5.9+20140118-1ubuntu1+esm2
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
seth-arnold
The Debian bug suggests tic(1) is the only caller, in which case this would be a 'low' bug; I couldn't quickly verify this claim.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5477-1
- ncurses vulnerabilities
- 14 June 2022