{"id":"UBUNTU-CVE-2021-42260","details":"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.","modified":"2026-04-22T14:58:51.974543Z","published":"2021-10-11T20:15:00Z","related":["USN-6542-1"],"upstream":["CVE-2021-42260"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-42260"},{"type":"REPORT","url":"https://sourceforge.net/p/tinyxml/bugs/141/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6542-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-42260"}],"affected":[{"package":{"name":"tinyxml","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tinyxml@2.6.2-3ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-3ubuntu0.1~esm1"}]}],"versions":["2.6.2-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.2-3ubuntu0.1~esm1","binary_name":"libtinyxml2.6.2v5"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42260.json"}},{"package":{"name":"tinyxml","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/tinyxml@2.6.2-4ubuntu0.18.04.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-4ubuntu0.18.04.1~esm1"}]}],"versions":["2.6.2-4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libtinyxml2.6.2v5","binary_version":"2.6.2-4ubuntu0.18.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42260.json"}},{"package":{"name":"tinyxml","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/tinyxml@2.6.2-4+deb10u1build0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-4+deb10u1build0.20.04.1"}]}],"versions":["2.6.2-4","2.6.2-4build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libtinyxml2.6.2v5","binary_version":"2.6.2-4+deb10u1build0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42260.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}