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
Debian Bugs882620

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ncurses (PTS)stretch6.0+20161126-1+deb9u2fixed
buster6.1+20181013-2+deb10u2fixed
bullseye, sid6.2-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ncursessourcejessie5.9+20140913-1+deb8u3
ncursessourcestretch6.0+20161126-1+deb9u2
ncursessource(unstable)6.0+20171125-1882620

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