# CVE-2021-42260: TinyXML through 2.6.2 has an infinite loop in TiXmlParsingData::Stamp in tinyxmlparser.cpp via the TIXMLUTFLEAD0 case.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.38%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-11T00:00:00.000Z
- Modified: 2026-06-17T04:09:31.687Z
- Weaknesses: CWE-835
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- tinyxml_project tinyxml: from 2.3.2 up to 2.6.2; 2.3.0; 2.3.1
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://sourceforge.net/p/tinyxml/bugs/141/> (exploit, issue-tracking, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/04/msg00019.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00041.html> (mailing-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

- CVE List: [CVE-2021-42260](https://www.cve.org/CVERecord?id=CVE-2021-42260), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2021-42260](https://nvd.nist.gov/vuln/detail/CVE-2021-42260), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-42260 · Whole record: https://cve.day/CVE-2021-42260.json · Rebuilt by cve.day 2026-11-25T22:58:04.421Z
