CVE-2023-50495
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().
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
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 Medium
CVSS: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 High
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 High
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
ncursesAzure Linux:2 |
before 6.4-3 | 6.4-3 |
ncursesTuxCare:CentOS:7 |
before 5.9-14.20130511.el7_4.tuxcare.els2 | 5.9-14.20130511.el7_4.tuxcare.els2 |
ncurses-baseTuxCare:CentOS:7 |
before 5.9-14.20130511.el7_4.tuxcare.els2 | 5.9-14.20130511.el7_4.tuxcare.els2 |
ncurses-develTuxCare:CentOS:7 |
before 5.9-14.20130511.el7_4.tuxcare.els2 | 5.9-14.20130511.el7_4.tuxcare.els2 |
ncurses-libsTuxCare:CentOS:7 |
before 5.9-14.20130511.el7_4.tuxcare.els2 | 5.9-14.20130511.el7_4.tuxcare.els2 |
ncurses-staticTuxCare:CentOS:7 |
before 5.9-14.20130511.el7_4.tuxcare.els2 | 5.9-14.20130511.el7_4.tuxcare.els2 |
ncurses-termTuxCare:CentOS:7 |
before 5.9-14.20130511.el7_4.tuxcare.els2 | 5.9-14.20130511.el7_4.tuxcare.els2 |
ncursesDebian: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 less6.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 |
ncursesDebian:13 |
before 6.4+20230625-1 | 6.4+20230625-1 |
ncursesDebian:14 |
before 6.4+20230625-1 | 6.4+20230625-1 |
Show 35 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ncursesopenEuler:20.03-LTS-SP1 |
before 6.2-5.oe1 | 6.2-5.oe1 |
ncursesopenEuler:20.03-LTS-SP3 |
before 6.2-5.oe1 | 6.2-5.oe1 |
ncursesopenEuler:20.03-LTS-SP4 |
before 6.2-5.oe2003sp4 | 6.2-5.oe2003sp4 |
ncursesopenEuler:22.03-LTS |
before 6.3-13.oe2203sp2 | 6.3-13.oe2203sp2 |
ncursesopenEuler:22.03-LTS-SP1 |
before 6.3-9.oe2203sp1 | 6.3-9.oe2203sp1 |
ncursesopenEuler:22.03-LTS-SP2 |
before 6.3-13.oe2203sp2 | 6.3-13.oe2203sp2 |
ncursesRoot: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-ncursesRoot: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 |
ncursesRoot: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-ncursesRoot: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 |
ncursesRoot:Ubuntu:22.04 |
before 6.3-2ubuntu0.3.aikido.4 | 6.3-2ubuntu0.3.aikido.4 |
rootio-ncursesRoot:Ubuntu:22.04 |
before 6.3-2ubuntu0.3.aikido.4 | 6.3-2ubuntu0.3.aikido.4 |
ncursesSUSE:Linux Enterprise Micro 5.3 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Micro 5.4 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Micro 5.5 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Module for Basesystem 15 SP5 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Module for Development Tools 15 SP4 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Module for Development Tools 15 SP5 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Module for Legacy 15 SP4 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Module for Legacy 15 SP5 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Micro 5.1 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Micro 5.2 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesopenSUSE:Leap Micro 5.3 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesopenSUSE:Leap Micro 5.4 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesopenSUSE:Leap 15.4 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesopenSUSE:Leap 15.5 |
before 6.1-150000.5.20.1 | 6.1-150000.5.20.1 |
ncursesSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 5.9-85.1 | 5.9-85.1 |
ncursesSUSE:Linux Enterprise Server 12 SP5 |
before 5.9-85.1 | 5.9-85.1 |
ncursesSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 5.9-85.1 | 5.9-85.1 |
ncursesUbuntu: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 |
ncursesUbuntu: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 |
ncursesUbuntu: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 |
ncursesUbuntu: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 |
ncursesUbuntu: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
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE 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
lists.gnu.org/archive/html/bug-ncurses/2023-04/msg00020.html
lists.gnu.org/archive/html/bug-ncurses/2023-04/msg00029.html
security.netapp.com/advisory/ntap-20240119-0008
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LU4MYMKFEZQ5VSCVLRIZGDQOUW3T44GT
lists.fedoraproject.org/archives/list/[email protected]/message/LU4MYMKFEZQ5VSCVLRIZGDQOUW3T44GT
cert-portal.siemens.com/productcert/html/ssa-794697.html
Show 13 moreShow less
nvd.nist.gov/vuln/detail/CVE-2023-50495
github.com/advisories/GHSA-8p5h-3mcg-frjf
errata.tuxcare.com/centos7-els/CLSA-2024-1716272110.html
security-tracker.debian.org/tracker/CVE-2023-50495
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1969
suse.com/support/update/announcement/2023/suse-su-20234891-1
bugzilla.suse.com/1201384
bugzilla.suse.com/1218014
suse.com/security/cve/CVE-2023-50495
suse.com/support/update/announcement/2023/suse-su-20234892-1
ubuntu.com/security/CVE-2023-50495
ubuntu.com/security/notices/USN-6684-1
cve.org/CVERecord?id=CVE-2023-50495