7.5
CWE
835
Advisory Published
Updated

CVE-2021-42260

First published: Mon Oct 11 2021(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/tinyxml<=2.6.2-4
2.6.2-4+deb10u2
2.6.2-4+deb11u2
2.6.2-6+deb12u1
2.6.2-6.1
ubuntu/tinyxml<2.6.2-4ubuntu0.18.04.1~
2.6.2-4ubuntu0.18.04.1~
ubuntu/tinyxml<2.6.2-4+
2.6.2-4+
ubuntu/tinyxml<2.6.2-3ubuntu0.1~
2.6.2-3ubuntu0.1~
TinyXML>=2.3.2<=2.6.2
TinyXML=2.3.0-beta
TinyXML=2.3.1-beta
Debian Linux=9.0
Debian Linux=10.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2021-42260?

    CVE-2021-42260 has a high severity as it leads to a denial of service through an infinite loop.

  • How do I fix CVE-2021-42260?

    To fix CVE-2021-42260, update your TinyXML package to versions 2.6.2-4+deb10u2, 2.6.2-4+deb11u2, or later.

  • What software is affected by CVE-2021-42260?

    CVE-2021-42260 affects TinyXML versions up to and including 2.6.2.

  • What is the impact of CVE-2021-42260?

    The impact of CVE-2021-42260 is denial of service caused by handling crafted XML messages.

  • Which distributions have packages affected by CVE-2021-42260?

    Debian and Ubuntu distributions have vulnerable packages affected by CVE-2021-42260.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203