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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"tinyxml_project:tinyxml": [
"= 2.3.0-beta",
"= 2.3.1-beta",
">= 2.3.2, <= 2.6.2"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-42260",
"id": "CVE-2021-42260",
"imported": "2026-11-21T05:51:42.520Z",
"modified": "2026-06-17T04:09:31.687Z",
"published": "2021-10-11T20:15:07.433Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-42260"
}
]
}