{"id":"CVE-2017-16879","details":"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.","modified":"2026-04-11T15:44:10.292259Z","published":"2017-11-22T22:29:00.223Z","related":["MGASA-2018-0002","SUSE-SU-2017:3183-1"],"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E"},{"type":"ADVISORY","url":"http://invisible-island.net/ncurses/NEWS.html#t20171125"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/145045/GNU-ncurses-6.0-tic-Denial-Of-Service.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201804-13"},{"type":"REPORT","url":"https://tools.cisco.com/security/center/viewAlert.x?alertId=57695"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mirror/ncurses","events":[{"introduced":"0"},{"last_affected":"ed3eb506e9a8e6ea871a2eb5818e19ba36f3f277"}],"database_specific":{"source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"6.0"}],"cpe":"cpe:2.3:a:gnu:ncurses:6.0:*:*:*:*:*:*:*"}}],"versions":["v4.1","v4.2","v5.0","v5.1","v5.2","v5.3","v5.4","v5.5","v5.6","v5.7","v5.8","v5.9","v6.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-16879.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}