---
id: CVE-2016-10228
title: >-
  The iconv program in the GNU C Library (aka glibc or libc6) 2.31 and earlier,
  when invoked with multiple suffixes in the destination encoding (TRANSLATE or
  IGNORE) along with the -c option, enters an infinite loop when processing
  invalid…
summary: >-
  The iconv program in the GNU C Library (aka glibc or libc6) 2.31 and earlier,
  when invoked with multiple suffixes in the destination encoding (TRANSLATE or
  IGNORE) along with the -c option, enters an infinite loop when processing
  invalid…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-20
vendor: gnu
product: glibc
affected:
  - glibc <= 2.25
published: '2017-03-02'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T07:16:37.020'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2016-10228'
references:
  - url: 'http://openwall.com/lists/oss-security/2017/03/01/10'
    label: cve@mitre.org
  - url: 'http://www.securityfocus.com/bid/96525'
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html'
    label: cve@mitre.org
  - url: 'https://security.gentoo.org/glsa/202101-20'
    label: cve@mitre.org
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=19519'
    label: cve@mitre.org
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=19519#c21'
    label: cve@mitre.org
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=26224'
    label: cve@mitre.org
  - url: 'https://www.oracle.com/security-alerts/cpuapr2022.html'
    label: cve@mitre.org
  - url: 'http://openwall.com/lists/oss-security/2017/03/01/10'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/bid/96525'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202101-20'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=19519'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=19519#c21'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=26224'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpuapr2022.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-831302.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.04006
epssPercentile: 0.90334
ingestedAt: '2026-10-14T07:21:04.795Z'
---

## Overview

The iconv program in the GNU C Library (aka glibc or libc6) 2.31 and earlier, when invoked with multiple suffixes in the destination encoding (TRANSLATE or IGNORE) along with the -c option, enters an infinite loop when processing invalid multi-byte input sequences, leading to a denial of service.

## Affected

- `glibc <= 2.25`

## Remediation

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