CVE Vulnerabilities

CVE-2020-27618

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Feb 26, 2021 | Modified: Jun 09, 2025
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
5.5 LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

The iconv function in the GNU C Library (aka glibc or libc6) 2.32 and earlier, when processing invalid multi-byte input sequences in IBM1364, IBM1371, IBM1388, IBM1390, and IBM1399 encodings, fails to advance the input state, which could lead to an infinite loop in applications, resulting in a denial of service, a different vulnerability from CVE-2016-10228.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

NameVendorStart VersionEnd Version
GlibcGnu*2.32 (including)
Red Hat Enterprise Linux 8RedHatglibc-0:2.28-151.el8*
Red Hat Enterprise Linux 8RedHatglibc-0:2.28-151.el8*
EglibcUbuntuesm-infra-legacy/trusty*
EglibcUbuntuprecise/esm*
EglibcUbuntutrusty*
EglibcUbuntutrusty/esm*
GlibcUbuntubionic*
GlibcUbuntuesm-infra/bionic*
GlibcUbuntuesm-infra/focal*
GlibcUbuntuesm-infra/xenial*
GlibcUbuntufocal*
GlibcUbuntugroovy*
GlibcUbuntutrusty*
GlibcUbuntuupstream*
GlibcUbuntuxenial*

References