Description
StringEqual in TiXmlDeclaration::Parse in tinyxmlparser.cpp in TinyXML through 2.6.2 has a reachable assertion (and application exit) via a crafted XML document with a '\0' located after whitespace.
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.1 | — |
| Debian 13 | tinyxml | 2.6.2-6.1 | — |
| Debian 12 | tinyxml | 2.6.2-6+deb12u1 | — |
| Debian 10 | tinyxml | 2.6.2-4+deb10u2 | DLA-3701-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | tinyxml | 2.6.2-6ubuntu0.22.04.1 | USN-6612-1 |
| Ubuntu 20.04 LTS | tinyxml | 2.6.2-4+deb10u2build0.20.04.1 | USN-6612-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~esm2 | USN-6612-1 |
| Ubuntu Pro 16.04 LTS | tinyxml | 2.6.2-3ubuntu0.1~esm2 | USN-6612-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | tinyxml | 2.6.2-150000.3.6.1 | SUSE-SU-2023:4958-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | tinyxml | 2.6.2-150000.3.6.1 | SUSE-SU-2023:4958-1 |
| openSUSE Leap 15.4 | tinyxml | 2.6.2-150000.3.6.1 | SUSE-SU-2023:4958-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | tinyxml | 2.6.2-r4 | — |
| Alpine v3.23 | tinyxml | 2.6.2-r4 | — |
| Alpine v3.22 | tinyxml | 2.6.2-r4 | — |
| Alpine v3.21 | tinyxml | 2.6.2-r4 | — |
| Alpine v3.20 | tinyxml | 2.6.2-r4 | — |
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 3
- USN-6612-1 tinyxml vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3701-1 tinyxml - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:4958-1 Security update for tinyxml SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://sourceforge.net/p/tinyxml/git/ci/master/tree/tinyxmlparser.cpp
- https://www.forescout.com/resources/sierra21-vulnerabilities
- [debian-lts-announce] 20231230 [SECURITY] [DLA 3701-1] tinyxml security update mailing-list
- FEDORA-2024-80e6578a01 vendor-advisory
- FEDORA-2024-c9dc0ac419 vendor-advisory