CVE-2017-16879

NameCVE-2017-16879
DescriptionStack-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs882620

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ncurses (PTS)jessie5.9+20140913-1+deb8u3fixed
stretch6.0+20161126-1+deb9u2fixed
buster, sid6.1+20181013-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ncursessource(unstable)6.0+20171125-1medium882620
ncursessourcejessie5.9+20140913-1+deb8u3medium
ncursessourcestretch6.0+20161126-1+deb9u2medium

Notes

[wheezy] - ncurses <ignored> (Minor issue)
PoC https://packetstormsecurity.com/files/download/145045/tic-overflow.tgz
http://invisible-island.net/ncurses/NEWS.html#t20171125

Search for package or bug name: Reporting problems