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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs882620

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ncurses (PTS)bullseye6.2+20201114-2+deb11u2fixed
bookworm6.4-4fixed
sid, trixie6.5-2fixed

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