---
id: CVE-2017-10684
title: >-
  In ncurses 6.0, there is a stack-based buffer overflow in the fmt_entry
  function
summary: >-
  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.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-119
vendor: invisible-island
product: ncurses
affected:
  - ncurses = 6.0
published: '2017-06-29'
updated: '2026-07-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2017-10684'
references:
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1464687'
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
    label: cve@mitre.org
  - url: 'https://security.gentoo.org/glsa/201804-13'
    label: cve@mitre.org
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1464687'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/201804-13'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.04551
epssPercentile: 0.91169
ingestedAt: '2026-07-23T19:19:12.725Z'
---

## Overview

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.

## Affected

- `ncurses = 6.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
