Skip to main content
Public proof of conceptFix available

CVE-2021-42260

A public proof of concept exists; no exploitation attested.

  • Published2021-10-11
  • WeaknessCWE-835

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-10-1120:15CVE publishedNVD

Versions per branch

NVD
Tinyxml project tinyxml
BranchAffectedFixed in
2.x≥ 2.3.2, ≤ 2.6.2no fix published
2.3= 2.3.0no fix published
2.3= 2.3.1no fix published
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
10.0= 10.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • tinyxmlWolfiall versions · fixed in 2.6.2-r1
  • tinyxmlUbuntu:Pro:18.04:LTSall versions · fixed in 2.6.2-4ubuntu0.18.04.1~esm1
  • tinyxmlUbuntu:Pro:16.04:LTSall versions · fixed in 2.6.2-3ubuntu0.1~esm1
  • tinyxmlUbuntu:20.04:LTSall versions · fixed in 2.6.2-4+deb10u1build0.20.04.1
  • tinyxmlopenSUSE:Leap 15.3all versions · fixed in 2.6.2-3.3.1
  • tinyxmlopenSUSE:Leap 15.2all versions · fixed in 2.6.2-lp152.4.3.1
  • tinyxmlopenEuler:20.03-LTS-SP3all versions · fixed in 2.6.2-22.oe1
  • tinyxmlopenEuler:20.03-LTS-SP2all versions · fixed in 2.6.2-22.oe1

15 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-42260 Red Hat Product Security

    tinyxml: infinite loop causes crash

  • ICSA-26-244-05 CISA20 known affected

    Rockwell Automation ControlLogix, CompactLogix, CompactLogix 5480, GuardLogix, Compact GuardLogix

    Rockwell Automation ControlLogix 5580 <34.015 · Rockwell Automation ControlLogix 5580 <35.014 · Rockwell Automation ControlLogix 5580 <36.013 · +17 more

Full record on NVD

Fix

  1. Vendor fix CISA ICSA-26-244-05 · 5 productsRockwell Automation recommends users update to firmware version 34.015 and later.
  2. Vendor fix CISA ICSA-26-244-05 · 5 productsRockwell Automation recommends users update to firmware version 35.014 and later.
  3. Vendor fix CISA ICSA-26-244-05 · 5 productsRockwell Automation recommends users update to firmware version 36.013 and later.
  4. Vendor fix CISA ICSA-26-244-05 · 5 productsRockwell Automation recommends users update to firmware version 37.011 and later.
  5. Mitigation from the vendor CISA ICSA-26-244-05 · 20 productsCustomers using the affected software who are not able to upgrade to one of the corrected versions should use Rockwell Automation's security best practices.

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2021-10-11
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-x43j-m68c-2qxf

Frequently asked questions

What is CVE-2021-42260?

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.

Is CVE-2021-42260 actively exploited?

Active exploitation of CVE-2021-42260 has not been confirmed. Its EPSS score was 3.4% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-42260?

CVE-2021-42260 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running tinyxml? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record