CVE Vulnerabilities

CVE-2021-42260

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Oct 11, 2021 | Modified: Jan 12, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

TinyXML through 2.6.2 has an infinite loop in TiXmlParsingData::Stamp in tinyxmlparser.cpp via the TIXML_UTF_LEAD_0 case. It can be triggered by a crafted XML message and leads to a denial of service.

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
Tinyxml Tinyxml_project 2.3.2 (including) 2.6.2 (including)
Tinyxml Tinyxml_project 2.3.0-beta (including) 2.3.0-beta (including)
Tinyxml Tinyxml_project 2.3.1-beta (including) 2.3.1-beta (including)

References