CVEfocus › CVE database › CVE-2017-10684

CVE-2017-10684

CVSS 9.8 CriticalEPSS 4.9% (higher than 92% of CVEs)Published 2017-06-29Updated 2024-08-05Assigner: mitre

In ncurses 6.0, there is a stack-based buffer overflow in the fmt_entry function. A crafted input will lead to a remote arbitrary code execution attack.

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
2Fix pending
6Will not fix
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04ncursesNot affected
vulnerable_code_not_present
Ubuntu 16.04ncursesFix pending6.0+20160213-1ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2017-10684
Ubuntu 14.04ncursesFix pending5.9+20140118-1ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2017-10684
Debian 14ncursesFixed6.0+20170708-1DEBIAN-CVE-2017-10684
Debian 13ncursesFixed6.0+20170708-1DEBIAN-CVE-2017-10684
Debian 12ncursesFixed6.0+20170708-1DEBIAN-CVE-2017-10684
Red Hat Enterprise Linux 7ncursesWill not fix
Will not fix
Red Hat Enterprise Linux 7ncurses-baseWill not fix
Will not fix
Red Hat Enterprise Linux 7ncurses-develWill not fix
Will not fix
Red Hat Enterprise Linux 7ncurses-libsWill not fix
Will not fix
Red Hat Enterprise Linux 7ncurses-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7ncurses-termWill not fix
Will not fix
Red Hat Enterprise Linux 6ncursesNot affected
Red Hat Enterprise Linux 6ncurses-baseNot affected
Red Hat Enterprise Linux 6ncurses-develNot affected
Red Hat Enterprise Linux 6ncurses-libsNot affected
Red Hat Enterprise Linux 6ncurses-staticNot affected
Red Hat Enterprise Linux 6ncurses-termNot affected
Red Hat Enterprise Linux 5ncursesNot affected
Alpine Linux 3.24ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.23ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.22ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.21ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.20ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.19ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.18ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.17ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.16ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.15ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.14ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.13ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.12ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.11ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.10ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.9ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.8ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.7ncursesFixed6.0_p20170701-r0ALPINE-CVE-2017-10684
Alpine Linux 3.6ncursesFixed6.0-r8ALPINE-CVE-2017-10684
Alpine Linux 3.5ncursesFixed6.0-r8ALPINE-CVE-2017-10684
Alpine Linux 3.4ncursesFixed6.0-r8ALPINE-CVE-2017-10684
Alpine Linux 3.3ncursesFixed6.0-r7ALPINE-CVE-2017-10684

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.