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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2988-1 tinyxml security update
Debian DLA Debian DLA DLA-3130-1 tinyxml security update
Ubuntu USN Ubuntu USN USN-6542-1 TinyXML vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-04T18:14:19.501Z

Reserved: 2021-10-11T00:00:00.000Z

Link: CVE-2021-42260

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-10-11T20:15:07.433

Modified: 2025-11-04T19:15:40.767

Link: CVE-2021-42260

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.