cve.bz

CVE-2021-42260 Infinite Loop

7.5 highExploit referenceEPSS 3.4%

High (7.5). EPSS 3.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
3.4% (unchanged from 3.4% a week ago; 3.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-42260 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-42260?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-42260?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-42260 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
tinyxml_project:tinyxmlfrom 2.3.2 through 2.6.2
tinyxml_project:tinyxml2.3.0:beta
tinyxml_project:tinyxml2.3.1:beta
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9tinyxml2.6.2-4+deb9u1DLA-2988-1
Debian10tinyxml2.6.2-4+deb10u1DLA-3130-1
Debian12, 13, 14tinyxml2.6.2-6DEBIAN-CVE-2021-42260
Ubuntu20.04:LTStinyxml2.6.2-4+deb10u1build0.20.04.1UBUNTU-CVE-2021-42260 USN-6542-1
UbuntuPro:16.04:LTStinyxml2.6.2-3ubuntu0.1~esm1UBUNTU-CVE-2021-42260 USN-6542-1
UbuntuPro:18.04:LTStinyxml2.6.2-4ubuntu0.18.04.1~esm1UBUNTU-CVE-2021-42260 USN-6542-1
openSUSELeap 15.2tinyxml2.6.2-lp152.4.3.1openSUSE-SU-2021:1474-1
openSUSELeap 15.3tinyxml2.6.2-3.3.1openSUSE-SU-2021:3639-1
Alpinev3.20, v3.21, v3.22 and 2 moretinyxml2.6.2-r2ALPINE-CVE-2021-42260

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-244-05Rockwell Automation ControlLogix, CompactLogix, CompactLogix 5480, GuardLogix, Compact GuardLogix2026-09-01Critical ManufacturingRockwell Automation ControlLogix 5580 <34.015, Rockwell Automation ControlLogix 5580 <35.014, Rockwell Automation ControlLogix 5580 <36.013 and 17 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON