CVE-2021-42260
JSON

7.5high

TinyXML through 2.6.2 has an infinite loop in TiXmlParsingData::Stamp in tinyxmlparser.cpp via the TIXMLUTFLEAD0 case.

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
3.38% (higher than 89% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
tinyxml_project tinyxmlfrom 2.3.2 up to 2.6.2, 2.3.0, 2.3.1NVD
debian debian_linux9.0, 10.0NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

NVD (es)

TinyXML versiones hasta 2.6.2, presenta un bucle infinito en la función TiXmlParsingData::Stamp en el archivo tinyxmlparser.cpp por medio del caso TIXML_UTF_LEAD_0. Puede ser activado por un mensaje XML diseñado y conlleva una denegación de servicio

References

https://sourceforge.net/p/tinyxml/bugs/141/exploit, issue-tracking, third-party-advisory
https://lists.debian.org/debian-lts-announce/2022/04/msg00019.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2022/09/msg00041.htmlmailing-list, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QCR5PIOBGDIDS6SYRESTMDJSEDFSCOE/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOMBSHRIW5Q34SQSXYURYAOYDZD2NQF6/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOMBSHRIW5Q34SQSXYURYAOYDZD2NQF6/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4QCR5PIOBGDIDS6SYRESTMDJSEDFSCOE/

Sources

SourceRecordLicence
CVE ListCVE-2021-42260 changed 2025-11-04CVE Terms of Use
NVDCVE-2021-42260 changed 2026-06-17Public domain