Every CVE Search/ Get API key

CVE-2019-17595

There is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the...

5.4 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
Low

Exploit likelihood

2.22%Up 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.4

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.

Record
CVE-2019-17595
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-17595
Updated
2026-11-02
EUVDEUVD-2019-7923 No score

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.

Record
EUVD-2019-7923
Updated
2026-11-02
GitHub AdvisoriesGHSA-mhrh-92mr-7rw4 5.4

There is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the...

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.

Record
GHSA-mhrh-92mr-7rw4
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Weakness
CWE-125
Updated
2026-11-02
OSV 5.4

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.

Record
CVE-2019-17595
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVDEBIAN-CVE-2019-17595 5.4

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.

Record
DEBIAN-CVE-2019-17595
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-02
Show 12 moreShow less
OSVJLSEC-2026-444 5.4

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.

Record
JLSEC-2026-444
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:N/A:P
Updated
2026-11-02
OSVRHSA-2021:4426 5.4

Red Hat Security Advisory: ncurses security update

Record
RHSA-2021:4426
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVRLSA-2021:4426 5.4

Moderate: ncurses security update

The ncurses (new curses) library routines are a terminal-independent method of updating character screens with reasonable optimization. The ncurses packages contain support utilities including a terminfo compiler tic, a decompiler infocmp, clear, tput, tset, and a termcap conversion tool captoinfo.

Security Fix(es):

  • ncurses: heap-based buffer overflow in the _nc_find_entry function in tinfo/comp_hash.c (CVE-2019-17594)

  • ncurses: heap-based buffer overflow in the fmt_entry function in tinfo/comp_hash.c (CVE-2019-17595)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.

Record
RLSA-2021:4426
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2019-17595 5.4

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.

Record
UBUNTU-CVE-2019-17595
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVALSA-2021:4426 No score

Moderate: ncurses security update

The ncurses (new curses) library routines are a terminal-independent method of updating character screens with reasonable optimization. The ncurses packages contain support utilities including a terminfo compiler tic, a decompiler infocmp, clear, tput, tset, and a termcap conversion tool captoinfo.

Security Fix(es):

  • ncurses: heap-based buffer overflow in the _nc_find_entry function in tinfo/comp_hash.c (CVE-2019-17594)

  • ncurses: heap-based buffer overflow in the fmt_entry function in tinfo/comp_hash.c (CVE-2019-17595)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2021:4426
Updated
2026-11-02
OSVMGASA-2019-0387 No score

Updated ncurses packages fix security vulnerabilities

Updated ncurses packages fix security vulnerabilities:

Heap-based buffer over-read in the _nc_find_entry function (CVE-2019-17594).

Heap-based buffer over-read in the fmt_entry function (CVE-2019-17595).

Record
MGASA-2019-0387
Updated
2026-11-02
OSVopenSUSE-SU-2019:2550-1 No score

Security update for ncurses

This update for ncurses fixes the following issues:

Security issues fixed:

  • CVE-2019-17594: Fixed a heap-based buffer over-read in the _nc_find_entry function (bsc#1154036).
  • CVE-2019-17595: Fixed a heap-based buffer over-read in the fmt_entry function (bsc#1154037).

Non-security issue fixed:

  • Removed screen.xterm from terminfo database (bsc#1103320).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:2550-1
Updated
2026-11-02
OSVopenSUSE-SU-2019:2551-1 No score

Security update for ncurses

This update for ncurses fixes the following issues:

Security issues fixed:

  • CVE-2019-17594: Fixed a heap-based buffer over-read in the _nc_find_entry function (bsc#1154036).
  • CVE-2019-17595: Fixed a heap-based buffer over-read in the fmt_entry function (bsc#1154037).

Non-security issue fixed:

  • Removed screen.xterm from terminfo database (bsc#1103320).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:2551-1
Updated
2026-11-02
OSVSUSE-SU-2019:2997-1 No score

Security update for ncurses

This update for ncurses fixes the following issues:

Security issues fixed:

  • CVE-2019-17594: Fixed a heap-based buffer over-read in the _nc_find_entry function (bsc#1154036).
  • CVE-2019-17595: Fixed a heap-based buffer over-read in the fmt_entry function (bsc#1154037).

Non-security issue fixed:

  • Removed screen.xterm from terminfo database (bsc#1103320).
Record
SUSE-SU-2019:2997-1
Updated
2026-11-02
OSVSUSE-SU-2019:3094-1 No score

Security update for ncurses

This update for ncurses fixes the following issues:

Security issue fixed:

  • CVE-2018-10754: Fixed a denial of service caused by a NULL Pointer Dereference in the _nc_parse_entry() (bsc#1131830).
  • CVE-2019-17594: Fixed a heap-based buffer over-read in _nc_find_entry function in tinfo/comp_hash.c (bsc#1154036).
  • CVE-2019-17595: Fixed a heap-based buffer over-read in fmt_entry function in tinfo/comp_hash.c (bsc#1154037).

Bug fixes:

  • Fixed ppc64le build configuration (bsc#1134550).
Record
SUSE-SU-2019:3094-1
Updated
2026-11-02
OSVUSN-5477-1 No score

ncurses vulnerabilities

Hosein Askari discovered that ncurses was incorrectly performing memory management operations when dealing with long filenames while writing structures into the file system. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2017-16879)

Chung-Yi Lin discovered that ncurses was incorrectly handling access to invalid memory areas when parsing terminfo or termcap entries where the use-name had invalid syntax. An attacker could possibly use this issue to cause a denial of service. (CVE-2018-19211)

It was discovered that ncurses was incorrectly performing bounds checks when processing invalid hashcodes. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. (CVE-2019-17594)

It was discovered that ncurses was incorrectly handling end-of-string characters when processing terminfo and termcap files. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. (CVE-2019-17595)

It was discovered that ncurses was incorrectly handling end-of-string characters when converting between termcap and terminfo formats. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2021-39537)

It was discovered that ncurses was incorrectly performing bounds checks when dealing with corrupt terminfo data while reading a terminfo file. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. (CVE-2022-29458)

Record
USN-5477-1
Updated
2026-11-02
OSVUSN-6099-1 No score

ncurses vulnerabilities

It was discovered that ncurses was incorrectly performing bounds checks when processing invalid hashcodes. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-17594)

It was discovered that ncurses was incorrectly handling end-of-string characters when processing terminfo and termcap files. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-17595)

It was discovered that ncurses was incorrectly handling end-of-string characters when converting between termcap and terminfo formats. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-39537)

It was discovered that ncurses was incorrectly performing bounds checks when dealing with corrupt terminfo data while reading a terminfo file. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-29458)

It was discovered that ncurses was parsing environment variables when running with setuid applications and not properly handling the processing of malformed data when doing so. A local attacker could possibly use this issue to cause a denial of service (application crash) or execute arbitrary code. (CVE-2023-29491)

Record
USN-6099-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ncurses
AlmaLinux:8
From an advisory covering 2 CVEs
before 6.1-9.20180224.el8
6.1-9.20180224.el8
ncurses-base
AlmaLinux:8
From an advisory covering 2 CVEs
before 6.1-9.20180224.el8
6.1-9.20180224.el8
ncurses-c++-libs
AlmaLinux:8
From an advisory covering 2 CVEs
before 6.1-9.20180224.el8
6.1-9.20180224.el8
ncurses-compat-libs
AlmaLinux:8
From an advisory covering 2 CVEs
before 6.1-9.20180224.el8
6.1-9.20180224.el8
ncurses-devel
AlmaLinux:8
From an advisory covering 2 CVEs
before 6.1-9.20180224.el8
6.1-9.20180224.el8
ncurses-libs
AlmaLinux:8
From an advisory covering 2 CVEs
before 6.1-9.20180224.el8
6.1-9.20180224.el8
ncurses-term
AlmaLinux:8
From an advisory covering 2 CVEs
before 6.1-9.20180224.el8
6.1-9.20180224.el8
ncurses
Debian:12
before 6.1+20191019-1
6.1+20191019-1
ncurses
Debian:13
before 6.1+20191019-1
6.1+20191019-1
ncurses
Debian:14
before 6.1+20191019-1
6.1+20191019-1
Show 41 moreShow less
Affected packages
PackageAffectedFixed
Ncurses_jll
Julia
before 6.2.0+0
6.2.0+0
ncurses
Mageia:7
From an advisory covering 2 CVEs
before 6.1-20181117.3.1.mga7
6.1-20181117.3.1.mga7
ncurses
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-base
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-c++-libs
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-c++-libs-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-compat-libs
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-compat-libs-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-debugsource
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-devel
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-libs
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-libs-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses-term
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses
Rocky Linux:8
From an advisory covering 2 CVEs
before 0:6.1-9.20180224.el8
0:6.1-9.20180224.el8
ncurses
SUSE:Linux Enterprise Module for Basesystem 15
From an advisory covering 2 CVEs
before 6.1-5.6.2
6.1-5.6.2
ncurses
SUSE:Linux Enterprise Module for Basesystem 15 SP1
From an advisory covering 2 CVEs
before 6.1-5.6.2
6.1-5.6.2
ncurses
SUSE:Linux Enterprise Module for Development Tools 15
From an advisory covering 2 CVEs
before 6.1-5.6.2
6.1-5.6.2
ncurses
SUSE:Linux Enterprise Module for Development Tools 15 SP1
From an advisory covering 2 CVEs
before 6.1-5.6.2
6.1-5.6.2
ncurses
SUSE:Linux Enterprise Module for Legacy 15
From an advisory covering 2 CVEs
before 6.1-5.6.2
6.1-5.6.2
ncurses
SUSE:Linux Enterprise Module for Legacy 15 SP1
From an advisory covering 2 CVEs
before 6.1-5.6.2
6.1-5.6.2
ncurses
SUSE:Linux Enterprise Desktop 12 SP4
From an advisory covering 3 CVEs
before 5.9-69.1
5.9-69.1
ncurses
SUSE:Linux Enterprise Software Development Kit 12 SP4
From an advisory covering 3 CVEs
before 5.9-69.1
5.9-69.1
ncurses
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 3 CVEs
before 5.9-69.1
5.9-69.1
ncurses
SUSE:Linux Enterprise Server 12 SP4
From an advisory covering 3 CVEs
before 5.9-69.1
5.9-69.1
ncurses
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 3 CVEs
before 5.9-69.1
5.9-69.1
ncurses
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 3 CVEs
before 5.9-69.1
5.9-69.1
ncurses
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 3 CVEs
before 5.9-69.1
5.9-69.1
ncurses
Ubuntu:Pro:14.04:LTS
before 5.9+20140118-1ubuntu1+esm2, plus listed versions
5.9+20130608-1ubuntu15.9+20131221-1ubuntu15.9+20140118-1ubuntu15.9+20140118-1ubuntu1+esm1
5.9+20140118-1ubuntu1+esm2
ncurses
Ubuntu:Pro:16.04:LTS
before 6.0+20160213-1ubuntu1+esm2, plus listed versions
5.9+20150516-2ubuntu16.0+20151024-2ubuntu16.0+20151024-2ubuntu26.0+20160213-1ubuntu16.0+20160213-1ubuntu1+esm1
6.0+20160213-1ubuntu1+esm2
ncurses
Ubuntu:18.04:LTS
before 6.1-1ubuntu1.18.04.1, plus listed versions
6.0+20160625-1ubuntu16.0+20171125-1ubuntu16.1-1ubuntu16.1-1ubuntu1.18.04
6.1-1ubuntu1.18.04.1
ncurses
Ubuntu:20.04:LTS
before 6.1+20191019-1ubuntu1, plus listed versions
6.1+20190803-1ubuntu1
6.1+20191019-1ubuntu1
ncurses
Ubuntu:Pro:14.04:LTS
From an advisory covering 6 CVEs
before 5.9+20140118-1ubuntu1+esm2, plus listed versions
5.9+20130608-1ubuntu15.9+20131221-1ubuntu15.9+20140118-1ubuntu15.9+20140118-1ubuntu1+esm1
5.9+20140118-1ubuntu1+esm2
ncurses
Ubuntu:Pro:16.04:LTS
From an advisory covering 6 CVEs
before 6.0+20160213-1ubuntu1+esm2, plus listed versions
5.9+20150516-2ubuntu16.0+20151024-2ubuntu16.0+20151024-2ubuntu26.0+20160213-1ubuntu16.0+20160213-1ubuntu1+esm1
6.0+20160213-1ubuntu1+esm2
ncurses
Ubuntu:Pro:14.04:LTS
From an advisory covering 5 CVEs
before 5.9+20140118-1ubuntu1+esm3, plus listed versions
5.9+20130608-1ubuntu15.9+20131221-1ubuntu15.9+20140118-1ubuntu15.9+20140118-1ubuntu1+esm15.9+20140118-1ubuntu1+esm2
5.9+20140118-1ubuntu1+esm3
ncurses
Ubuntu:Pro:16.04:LTS
From an advisory covering 5 CVEs
before 6.0+20160213-1ubuntu1+esm3, plus listed versions
5.9+20150516-2ubuntu16.0+20151024-2ubuntu16.0+20151024-2ubuntu26.0+20160213-1ubuntu16.0+20160213-1ubuntu1+esm16.0+20160213-1ubuntu1+esm2
6.0+20160213-1ubuntu1+esm3
ncurses
Ubuntu:18.04:LTS
From an advisory covering 5 CVEs
before 6.1-1ubuntu1.18.04.1, plus listed versions
6.0+20160625-1ubuntu16.0+20171125-1ubuntu16.1-1ubuntu16.1-1ubuntu1.18.04
6.1-1ubuntu1.18.04.1
ncurses
Ubuntu:20.04:LTS
From an advisory covering 5 CVEs
before 6.2-0ubuntu2.1, plus listed versions
6.1+20190803-1ubuntu16.1+20191019-1ubuntu16.2-0ubuntu2
6.2-0ubuntu2.1
ncurses
Ubuntu:22.04:LTS
From an advisory covering 5 CVEs
before 6.3-2ubuntu0.1, plus listed versions
6.2+20201114-2build16.2+20201114-2build26.3-16.3-2
6.3-2ubuntu0.1
ncurses
openSUSE:Leap 15.0
From an advisory covering 2 CVEs
before 6.1-lp150.9.1
6.1-lp150.9.1
ncurses
openSUSE:Leap 15.1
From an advisory covering 2 CVEs
before 6.1-lp151.6.3.1
6.1-lp151.6.3.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-17595 is a medium vulnerability (CVSS 5.4) in Invisible-island Ncurses, published October 14, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.22%, the 82nd percentile. Fixed in ncurses 6.1+20191019-1.

References

Show 42 moreShow less
MoveEnter Open