CVE Vulnerabilities

CVE-2017-13728

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Aug 29, 2017 | Modified: Nov 07, 2023
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

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

Name Vendor Start Version End Version
Ncurses Gnu 6.0 (including) 6.0 (including)
Ncurses Ubuntu artful *
Ncurses Ubuntu esm-infra/xenial *
Ncurses Ubuntu precise/esm *
Ncurses Ubuntu trusty *
Ncurses Ubuntu trusty/esm *
Ncurses Ubuntu upstream *
Ncurses Ubuntu vivid/ubuntu-core *
Ncurses Ubuntu xenial *
Ncurses Ubuntu zesty *

References