{"id":"CVE-2019-17595","title":"There is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012.","summary":"There is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012.","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L","cwe":["CWE-125"],"vendor":"invisible-island","product":"ncurses","affected":["ncurses < 6.2","leap = 15.0","leap = 15.1"],"patched":["ncurses 6.2"],"published":"2019-10-14","updated":"2026-07-27","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2019-17595","references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00059.html","label":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00061.html","label":"cve@mitre.org"},{"url":"https://lists.gnu.org/archive/html/bug-ncurses/2019-10/msg00013.html","label":"cve@mitre.org"},{"url":"https://lists.gnu.org/archive/html/bug-ncurses/2019-10/msg00045.html","label":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/202101-28","label":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00059.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00061.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.gnu.org/archive/html/bug-ncurses/2019-10/msg00013.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.gnu.org/archive/html/bug-ncurses/2019-10/msg00045.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202101-28","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.02051,"epssPercentile":0.80134,"ingestedAt":"2026-07-27T14:19:53.815Z","slug":"CVE-2019-17595","body":"## Overview\n\nThere is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012.\n\n## Affected\n\n- `ncurses < 6.2`\n- `leap = 15.0`\n- `leap = 15.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `ncurses 6.2`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":29.7,"likelihood":0.4,"exploitation":0,"ransomware":0},"changes":[]}