CVE-2021-42260: High severity Tinyxml Project Tinyxml vulnerability

Published Oct 11, 2021
·
Updated

TinyXML through 2.6.2 has an infinite loop in TiXmlParsingData::Stamp in tinyxmlparser.cpp via the TIXMLUTFLEAD0 case. It can be triggered by a crafted XML message and leads to a denial of service.

Affected Software

9 affected componentsFixes available
debian/tinyxml<=2.6.2-4
2.6.2-4+deb10u22.6.2-4+deb11u22.6.2-6+deb12u12.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 Project Tinyxml>=2.3.2<=2.6.2
Tinyxml Project Tinyxml=2.3.0-beta
Tinyxml Project Tinyxml=2.3.1-beta
Debian Debian Linux=9.0
Debian Debian Linux=10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/tinyxml to a version that resolves this vulnerability.

    Fixed in 2.6.2-4+deb10u2Fixed in 2.6.2-4+deb11u2Fixed in 2.6.2-6+deb12u1Fixed in 2.6.2-6.1
  2. Upgrade

    Upgrade ubuntu/tinyxml to a version that resolves this vulnerability.

    Fixed in 2.6.2-4ubuntu0.18.04.1~
  3. Upgrade

    Upgrade ubuntu/tinyxml to a version that resolves this vulnerability.

    Fixed in 2.6.2-4+
  4. Upgrade

    Upgrade ubuntu/tinyxml to a version that resolves this vulnerability.

    Fixed in 2.6.2-3ubuntu0.1~

Event History

Oct 11, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 20, 2024
Data Sourced
via Launchpad·09:21 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

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.

3

What software is affected by CVE-2021-42260?

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

4

What is the impact of CVE-2021-42260?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203