Every CVE Search/ Get API key

CVE-2023-50495

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component...

6.5 MediumFix available

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().

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
None
Integrity
None
Availability
High

Exploit likelihood

1.04%Up 1.0 points since Dec 13, 2023
90%50%10%1%

What each source reports

NVD Score used 6.5

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().

Record
CVE-2023-50495
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
CVE List No score

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().

Record
CVE-2023-50495
Updated
2026-11-02
EUVDEUVD-2023-55278 No score

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().

Record
EUVD-2023-55278
Updated
2026-11-02
GitHub AdvisoriesGHSA-8p5h-3mcg-frjf 7.5

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component...

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().

Record
GHSA-8p5h-3mcg-frjf
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-32177 6.5

CVE-2023-50495 affecting package ncurses for versions less than 6.4-3

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().

Record
AZL-32177
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 6.5

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().

Record
CVE-2023-50495
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2023-50495 6.5

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().

Record
DEBIAN-CVE-2023-50495
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2023-1969 7.5

ncurses security update

The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0 (SVr4), and more. It uses terminfo format, supports pads and color and multiple highlights and forms characters and function-key mapping, and has all the other SVr4-curses enhancements over BSD curses. SVr4 curses became the basis of X/Open Curses.

Security Fix(es):

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().(CVE-2023-50495)

Record
OESA-2023-1969
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVROOT-OS-DEBIAN-11-CVE-2023-50495 6.5

CVE-2023-50495 in ncurses - Patched by Root

Root has patched CVE-2023-50495 in the ncurses package for Root:Debian:11. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-11-CVE-2023-50495
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2023-50495 6.5

CVE-2023-50495 in ncurses - Patched by Root

Root has patched CVE-2023-50495 in the ncurses package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2023-50495
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVROOT-OS-UBUNTU-2204-CVE-2023-50495 6.5

CVE-2023-50495 in ncurses - Patched by Root

Root has patched CVE-2023-50495 in the ncurses package for Root:Ubuntu:22.04. Multiple fixed versions available.

Record
ROOT-OS-UBUNTU-2204-CVE-2023-50495
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-50495 6.5

NCurse v6.4-20230418 was discovered to contain a segmentation fault via the component _nc_wrap_entry().

Record
UBUNTU-CVE-2023-50495
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVCLSA-2024-1716272110 No score

ncurses: Fix of CVE-2023-50495

  • CVE-2023-50495: check return value of _nc_save_str() (from upstream patch 20230424), add validity checks in _nc_parse_entry() (from upstream patch 20170826)
Record
CLSA-2024-1716272110
Updated
2026-11-02
OSVSUSE-SU-2023:4891-1 No score

Security update for ncurses

This update for ncurses fixes the following issues:

  • CVE-2023-50495: Fixed a segmentation fault via _nc_wrap_entry() (bsc#1218014)
  • Modify reset command to avoid altering clocal if the terminal uses a modem (bsc#1201384)
Record
SUSE-SU-2023:4891-1
Updated
2026-11-02
OSVSUSE-SU-2023:4892-1 No score

Security update for ncurses

This update for ncurses fixes the following issues:

  • CVE-2023-50495: Fixed a segmentation fault via _nc_wrap_entry() (bsc#1218014)
Record
SUSE-SU-2023:4892-1
Updated
2026-11-02
OSVUSN-6684-1 No score

ncurses vulnerability

It was discovered that ncurses incorrectly handled certain function return values, possibly leading to segmentation fault. A local attacker could possibly use this to cause a denial of service (system crash).

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

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ncurses
Azure Linux:2
before 6.4-3
6.4-3
ncurses
TuxCare:CentOS:7
before 5.9-14.20130511.el7_4.tuxcare.els2
5.9-14.20130511.el7_4.tuxcare.els2
ncurses-base
TuxCare:CentOS:7
before 5.9-14.20130511.el7_4.tuxcare.els2
5.9-14.20130511.el7_4.tuxcare.els2
ncurses-devel
TuxCare:CentOS:7
before 5.9-14.20130511.el7_4.tuxcare.els2
5.9-14.20130511.el7_4.tuxcare.els2
ncurses-libs
TuxCare:CentOS:7
before 5.9-14.20130511.el7_4.tuxcare.els2
5.9-14.20130511.el7_4.tuxcare.els2
ncurses-static
TuxCare:CentOS:7
before 5.9-14.20130511.el7_4.tuxcare.els2
5.9-14.20130511.el7_4.tuxcare.els2
ncurses-term
TuxCare:CentOS:7
before 5.9-14.20130511.el7_4.tuxcare.els2
5.9-14.20130511.el7_4.tuxcare.els2
ncurses
Debian:12
All versions, plus listed versions
6.4+20230603-16.4+20230625-16.4+20230625-26.4+20231007-16.4+20231016-1
Show 19 moreShow less
6.4+20231118-16.4+20231121-16.4+20231209-16.4+20240113-16.4+20240414-16.4-46.5+20250125-16.5+20250125-26.5+20250216-16.5+20250216-26.5+20251115-16.5+20251115-26.5+20251122-16.5+20251123-16.5-16.5-26.6+20251231-16.6+20260608-16.6+20260608-2
None known
ncurses
Debian:13
before 6.4+20230625-1
6.4+20230625-1
ncurses
Debian:14
before 6.4+20230625-1
6.4+20230625-1
Show 35 moreShow less
Affected packages
PackageAffectedFixed
ncurses
openEuler:20.03-LTS-SP1
before 6.2-5.oe1
6.2-5.oe1
ncurses
openEuler:20.03-LTS-SP3
before 6.2-5.oe1
6.2-5.oe1
ncurses
openEuler:20.03-LTS-SP4
before 6.2-5.oe2003sp4
6.2-5.oe2003sp4
ncurses
openEuler:22.03-LTS
before 6.3-13.oe2203sp2
6.3-13.oe2203sp2
ncurses
openEuler:22.03-LTS-SP1
before 6.3-9.oe2203sp1
6.3-9.oe2203sp1
ncurses
openEuler:22.03-LTS-SP2
before 6.3-13.oe2203sp2
6.3-13.oe2203sp2
ncurses
Root:Debian:11
before 6.2+20201114-2+deb11u2.root.io.3
6.2+20201114-2+deb11u2.root.io.36.2+20201114-2+deb11u2.root.io.16.2+20201114-2+deb11u2.root.io.26.2+20201114-2+deb11u2.root.io.46.2+20201114-2+deb11u2.root.io.66.2+20201114-2+deb11u2.aikido.76.2+20201114-2+deb11u2.root.io.5
rootio-ncurses
Root:Debian:11
before 6.2+20201114-2+deb11u2.root.io.3
6.2+20201114-2+deb11u2.root.io.36.2+20201114-2+deb11u2.root.io.16.2+20201114-2+deb11u2.root.io.26.2+20201114-2+deb11u2.root.io.46.2+20201114-2+deb11u2.root.io.66.2+20201114-2+deb11u2.aikido.76.2+20201114-2+deb11u2.root.io.5
ncurses
Root:Debian:12
before 6.4-4.root.io.3
6.4-4.root.io.36.4-4.root.io.16.4-4.root.io.26.4-4.root.io.46.4-4.root.io.56.4-4.root.io.66.4-4.aikido.7
rootio-ncurses
Root:Debian:12
before 6.4-4.root.io.3
6.4-4.root.io.36.4-4.root.io.16.4-4.root.io.26.4-4.root.io.46.4-4.root.io.56.4-4.root.io.66.4-4.aikido.7
ncurses
Root:Ubuntu:22.04
before 6.3-2ubuntu0.3.aikido.4
6.3-2ubuntu0.3.aikido.4
rootio-ncurses
Root:Ubuntu:22.04
before 6.3-2ubuntu0.3.aikido.4
6.3-2ubuntu0.3.aikido.4
ncurses
SUSE:Linux Enterprise Micro 5.3
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Micro 5.4
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Micro 5.5
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Module for Development Tools 15 SP4
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Module for Development Tools 15 SP5
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Module for Legacy 15 SP4
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Module for Legacy 15 SP5
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Micro 5.1
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Micro 5.2
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
openSUSE:Leap Micro 5.3
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
openSUSE:Leap Micro 5.4
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
openSUSE:Leap 15.4
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
openSUSE:Leap 15.5
before 6.1-150000.5.20.1
6.1-150000.5.20.1
ncurses
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 5.9-85.1
5.9-85.1
ncurses
SUSE:Linux Enterprise Server 12 SP5
before 5.9-85.1
5.9-85.1
ncurses
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 5.9-85.1
5.9-85.1
ncurses
Ubuntu:Pro:14.04:LTS
before 5.9+20140118-1ubuntu1+esm5, plus listed versions
5.9+20130608-1ubuntu15.9+20131221-1ubuntu15.9+20140118-1ubuntu15.9+20140118-1ubuntu1+esm15.9+20140118-1ubuntu1+esm25.9+20140118-1ubuntu1+esm35.9+20140118-1ubuntu1+esm4
5.9+20140118-1ubuntu1+esm5
ncurses
Ubuntu:Pro:16.04:LTS
before 6.0+20160213-1ubuntu1+esm5, plus listed versions
5.9+20150516-2ubuntu16.0+20151024-2ubuntu16.0+20151024-2ubuntu26.0+20160213-1ubuntu16.0+20160213-1ubuntu1+esm16.0+20160213-1ubuntu1+esm26.0+20160213-1ubuntu1+esm36.0+20160213-1ubuntu1+esm4
6.0+20160213-1ubuntu1+esm5
ncurses
Ubuntu:Pro:18.04:LTS
before 6.1-1ubuntu1.18.04.1+esm2, plus listed versions
6.0+20160625-1ubuntu16.0+20171125-1ubuntu16.1-1ubuntu16.1-1ubuntu1.18.046.1-1ubuntu1.18.04.16.1-1ubuntu1.18.04.1+esm1
6.1-1ubuntu1.18.04.1+esm2
ncurses
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
6.1+20190803-1ubuntu16.1+20191019-1ubuntu16.2-0ubuntu26.2-0ubuntu2.16.2-0ubuntu2.1+esm16.2-0ubuntu2.1+esm2
None known
ncurses
Ubuntu:22.04:LTS
All versions, plus listed versions
6.2+20201114-2build16.2+20201114-2build26.3-16.3-26.3-2ubuntu0.16.3-2ubuntu0.26.3-2ubuntu0.3
None known

History

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

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

In short

CVE-2023-50495 is a medium vulnerability (CVSS 6.5) in Invisible-island Ncurse, published December 12, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.04%, the 64th percentile. Fixed in ncurses 6.4-3.

References

Show 13 moreShow less
MoveEnter Open