Name | CVE-2017-16879 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 882620 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ncurses (PTS) | bullseye | 6.2+20201114-2+deb11u2 | fixed |
| bookworm | 6.4-4 | fixed |
| sid, trixie | 6.5-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
ncurses | source | jessie | 5.9+20140913-1+deb8u3 | | | |
ncurses | source | stretch | 6.0+20161126-1+deb9u2 | | | |
ncurses | source | (unstable) | 6.0+20171125-1 | | | 882620 |
Notes
[wheezy] - ncurses <ignored> (Minor issue)
PoC https://packetstormsecurity.com/files/download/145045/tic-overflow.tgz
http://invisible-island.net/ncurses/NEWS.html#t20171125