CVE Vulnerabilities

CVE-2017-13728

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Aug 29, 2017 | Modified: Apr 20, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
NEGLIGIBLE
root.io logo minimus.io logo echo.ai logo

There is an infinite loop in the next_char function in comp_scan.c in ncurses 6.0, related to libtic. A crafted input will lead to a remote denial of service attack.

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
NcursesGnu6.0 (including)6.0 (including)
NcursesUbuntuartful*
NcursesUbuntuesm-infra-legacy/trusty*
NcursesUbuntuesm-infra/xenial*
NcursesUbuntuprecise/esm*
NcursesUbuntutrusty*
NcursesUbuntutrusty/esm*
NcursesUbuntuupstream*
NcursesUbuntuvivid/ubuntu-core*
NcursesUbuntuxenial*
NcursesUbuntuzesty*

References