---
id: CVE-2017-10685
title: >-
  In ncurses 6.0, there is a format string vulnerability in the fmt_entry
  function
summary: >-
  In ncurses 6.0, there is a format string vulnerability 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-134
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-10685'
references:
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1464692'
    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=1464692'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/201804-13'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.04008
epssPercentile: 0.90124
ingestedAt: '2026-07-23T19:19:12.797Z'
---

## Overview

In ncurses 6.0, there is a format string vulnerability 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.
