{"id":"CVE-2021-42260","aliases":["ALPINE-CVE-2021-42260","DEBIAN-CVE-2021-42260","DLA-2988-1","DLA-3130-1","EUVD-2021-29236","GHSA-x43j-m68c-2qxf","MGASA-2021-0514","OESA-2022-1521","UBUNTU-CVE-2021-42260","USN-6542-1","openSUSE-SU-2021:1474-1","openSUSE-SU-2021:3639-1","openSUSE-SU-2024:13524-1"],"status":"published","title":"TinyXML through 2.6.2 has an infinite loop in TiXmlParsingData::Stamp in tinyxmlparser.cpp via...","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.03375,"percentile":0.88923,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-835"],"published":"2021-10-11T00:00:00Z","modified":"2026-11-03T06:31:47Z","exploits":[{"source":"pocgithub","id":"vm2mv/tinyxml","title":"vm2mv/tinyxml","date":"2024-12-04","url":"https://github.com/vm2mv/tinyxml"}],"fixes":[{"ecosystem":"Alpine:v3.20","package":"tinyxml","fixed_in":["2.6.2-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"tinyxml","fixed_in":["2.6.2-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"tinyxml","fixed_in":["2.6.2-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"tinyxml","fixed_in":["2.6.2-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"tinyxml","fixed_in":["2.6.2-r2"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"tinyxml","fixed_in":["2.6.2-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tinyxml","fixed_in":["2.6.2-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tinyxml","fixed_in":["2.6.2-6"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"tinyxml","fixed_in":["2.6.2-4+deb9u1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"tinyxml","fixed_in":["2.6.2-4+deb10u1"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"tinyxml","fixed_in":["2.6.2-12.1.mga8"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"tinyxml","fixed_in":["2.6.2-22.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP2","package":"tinyxml","fixed_in":["2.6.2-22.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP3","package":"tinyxml","fixed_in":["2.6.2-22.oe1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tinyxml","fixed_in":["2.6.2-3ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tinyxml","fixed_in":["2.6.2-4ubuntu0.18.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"tinyxml","fixed_in":["2.6.2-4+deb10u1build0.20.04.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.2","package":"tinyxml","fixed_in":["2.6.2-lp152.4.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"tinyxml","fixed_in":["2.6.2-3.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.20","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.2"},{"fixed":"2.6.2-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.2"},{"fixed":"2.6.2-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.2"},{"fixed":"2.6.2-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.2"},{"fixed":"2.6.2-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.2"},{"fixed":"2.6.2-r2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-6"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-4+deb9u1"}]}],"versions":["2.6.2-4"]},{"source":"osv","ecosystem":"Debian:10","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-4+deb10u1"}]}],"versions":["2.6.2-4"]},{"source":"osv","ecosystem":"Mageia:8","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-12.1.mga8"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-22.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP2","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-22.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-22.oe1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-3ubuntu0.1~esm1"}]}],"versions":["2.6.2-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-4ubuntu0.18.04.1~esm1"}]}],"versions":["2.6.2-4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-4+deb10u1build0.20.04.1"}]}],"versions":["2.6.2-4","2.6.2-4build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-3ubuntu0.1~esm1"}]}],"versions":["2.6.2-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-4ubuntu0.18.04.1~esm1"}]}],"versions":["2.6.2-4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-4+deb10u1build0.20.04.1"}]}],"versions":["2.6.2-4","2.6.2-4build1"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-lp152.4.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"tinyxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-3.3.1"}]}]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"tinyxml_project","product":"tinyxml"}],"references":[{"url":"https://sourceforge.net/p/tinyxml/bugs/141/","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00019.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00041.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QCR5PIOBGDIDS6SYRESTMDJSEDFSCOE/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOMBSHRIW5Q34SQSXYURYAOYDZD2NQF6/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOMBSHRIW5Q34SQSXYURYAOYDZD2NQF6/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4QCR5PIOBGDIDS6SYRESTMDJSEDFSCOE/","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42260","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QCR5PIOBGDIDS6SYRESTMDJSEDFSCOE"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOMBSHRIW5Q34SQSXYURYAOYDZD2NQF6"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4QCR5PIOBGDIDS6SYRESTMDJSEDFSCOE"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOMBSHRIW5Q34SQSXYURYAOYDZD2NQF6"},{"url":"https://sourceforge.net/p/tinyxml/bugs/141"},{"url":"https://github.com/advisories/GHSA-x43j-m68c-2qxf"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-42260","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-42260","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0514.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29642","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/2MO2YQSAKB3PM3TWSYUR2JCZND3ENJVZ/","tags":["web","advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1521","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-42260","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6542-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42260","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/F2M3VLHPBVPXWEAQR5CPGGUOGBI3B2GJ/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1191576","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-42260","tags":["web"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2023-34194","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-42260","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.","status":"published","published":"2021-10-11T00:00:00Z","modified":"2025-11-04T18:14:19.501Z","updated_at":"2026-11-02T14:32:58.359368Z"}],"euvd":[{"id":"EUVD-2021-29236","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.","status":"published","published":"2021-10-11T00:00:00Z","modified":"2025-11-04T18:14:19Z","updated_at":"2026-11-02T19:49:25.004858Z"}],"ghsa":[{"id":"GHSA-x43j-m68c-2qxf","title":"TinyXML through 2.6.2 has an infinite loop in TiXmlParsingData::Stamp in tinyxmlparser.cpp via...","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.","status":"published","published":"2022-05-24T19:17:08Z","modified":"2025-11-04T21:31:31Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T15:04:37.024156Z"}],"nvd":[{"id":"CVE-2021-42260","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.","status":"published","published":"2021-10-11T20:15:07.433Z","modified":"2026-06-17T04:09:31.687Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:06:59.689345Z"}],"osv":[{"id":"ALPINE-CVE-2021-42260","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.","status":"published","published":"2021-10-11T20:15:07.433Z","modified":"2026-11-03T06:31:47.483045423Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:18:15.355745Z"},{"id":"CVE-2021-42260","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.","status":"published","published":"2021-10-11T20:15:07.433Z","modified":"2026-04-16T04:38:21.349018566Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"DEBIAN-CVE-2021-42260","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.","status":"published","published":"2021-10-11T20:15:07.433Z","modified":"2026-10-23T18:05:23.143157932Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"OESA-2022-1521","title":"tinyxml security update","description":"TinyXML parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved. XML is a very structured and convenient format. All those random file formats created to store application data can all be replaced with XML. One parser for everything.\r\n\r\nSecurity Fix(es):\r\n\r\nTinyXML 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.(CVE-2021-42260)","status":"published","published":"2022-02-11T11:04:48Z","modified":"2026-08-18T01:16:17.864728803Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"UBUNTU-CVE-2021-42260","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.","status":"published","published":"2021-10-11T20:15:00Z","modified":"2026-04-22T13:02:14.539732Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:29.220315Z"},{"id":"DLA-2988-1","title":"tinyxml - security update","status":"published","published":"2022-05-01T00:00:00Z","modified":"2026-03-09T01:20:34.139797Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DLA-3130-1","title":"tinyxml - security update","status":"published","published":"2022-10-01T00:00:00Z","modified":"2026-03-09T01:22:44.794594Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"MGASA-2021-0514","title":"Updated tinyxml packages fix security vulnerability","description":"TinyXML through 2.6.2 has an infinite loop in TiXmlParsingData::Stamp in\ntinyxmlparser.cpp via the TIXML_UTF_LEAD_0 case. It can be triggered by\na crafted XML message and leads to a denial of service. (CVE-2021-42260)\n","status":"published","published":"2021-11-18T21:50:59Z","modified":"2026-04-16T04:42:55.966724727Z","updated_at":"2026-11-02T15:49:41.849028Z"},{"id":"openSUSE-SU-2021:1474-1","title":"Security update for tinyxml","description":"This update for tinyxml fixes the following issues:\n\n- CVE-2021-42260: Fixed an infinite loop for inputs containing the sequence 0xEF0x00 (bsc#1191576)\n\nThis update was imported from the SUSE:SLE-15:Update update project.","status":"published","published":"2021-11-15T09:06:58Z","modified":"2026-02-04T03:21:35.657323Z","updated_at":"2026-11-02T16:58:32.266854Z"},{"id":"openSUSE-SU-2021:3639-1","title":"Security update for tinyxml","description":"This update for tinyxml fixes the following issues:\n\n- CVE-2021-42260: Fixed an infinite loop for inputs containing the sequence 0xEF0x00 (bsc#1191576)\n","status":"published","published":"2021-11-09T16:05:33Z","modified":"2026-02-04T03:54:33.628338Z","updated_at":"2026-11-02T16:58:32.266854Z"},{"id":"openSUSE-SU-2024:13524-1","title":"libtinyxml0-2.6.2-12.1 on GA media","description":"These are all security issues fixed in the libtinyxml0-2.6.2-12.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:11:47.759357Z","updated_at":"2026-11-02T16:58:36.327643Z"},{"id":"USN-6542-1","title":"tinyxml vulnerability","description":"Wang Zhong discovered that TinyXML incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to cause a \ndenial of service.\n","status":"published","published":"2023-12-07T17:50:46Z","modified":"2026-06-25T13:32:02.669079301Z","updated_at":"2026-11-02T16:58:17.305935Z"}]}}
