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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tinyxml | 2.6.2-6 | — |
| Debian 13 | tinyxml | 2.6.2-6 | — |
| Debian 12 | tinyxml | 2.6.2-6 | — |
| Debian 10 | tinyxml | 2.6.2-4+deb10u1 | DLA-3130-1 |
| Debian 9 | tinyxml | 2.6.2-4+deb9u1 | DLA-2988-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | tinyxml | 2.6.2-4+deb10u1build0.20.04.1 | USN-6542-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | tinyxml | 2.6.2-4ubuntu0.18.04.1~esm1 | USN-6542-1 |
| Ubuntu Pro 16.04 LTS | tinyxml | 2.6.2-3ubuntu0.1~esm1 | USN-6542-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | tinyxml | 2.6.2-3.3.1 | openSUSE-SU-2021:3639-1 |
| openSUSE Leap 15.2 | tinyxml | 2.6.2-lp152.4.3.1 | openSUSE-SU-2021:1474-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | tinyxml | 2.6.2-r2 | — |
| Alpine v3.23 | tinyxml | 2.6.2-r2 | — |
| Alpine v3.22 | tinyxml | 2.6.2-r2 | — |
| Alpine v3.21 | tinyxml | 2.6.2-r2 | — |
| Alpine v3.20 | tinyxml | 2.6.2-r2 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | tinyxml | 2.6.2-r1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
vm2mv/tinyxml ★ 2 · Dec 4, 2024
TinyXML 2.6.2 with fixes for CVE-2021-42260 and CVE-2023-34194
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 7
- WID-SEC-2026-3142 Rockwell Automation ControlLogix 5580, CompactLogix 5380, und CompactLogix 5480: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Sep 1, 2026
- ICSA-26-244-05 Rockwell Automation ControlLogix, CompactLogix, CompactLogix 5480, GuardLogix, Compact GuardLogix CISA ICS & IT advisories · Sep 1, 2026
- USN-6542-1 tinyxml vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3130-1 tinyxml - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2988-1 tinyxml - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2021:3639-1 Security update for tinyxml SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1474-1 Security update for tinyxml SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://sourceforge.net/p/tinyxml/bugs/141/
- [debian-lts-announce] 20220430 [SECURITY] [DLA 2988-1] tinyxml security update mailing-list
- [debian-lts-announce] 20220930 [SECURITY] [DLA 3130-1] tinyxml security update mailing-list
- FEDORA-2024-80e6578a01 vendor-advisory
- FEDORA-2024-c9dc0ac419 vendor-advisory