{"id":"CVE-2006-10002","published":"2026-03-19T11:03:46Z","modified":"2026-04-29T14:36:41Z","title":"XML::Parser versions through 2.45 for Perl could overflow the pre-allocated buffer size cause a heap corruption…","vendor":"TODDR","product":"XML::Parser","tier":"tail","description":{"text":"XML::Parser versions through 2.45 for Perl could overflow the pre-allocated buffer size cause a heap corruption (double free or corruption) and crashes.\n\nA :utf8 PerlIO layer, parse_stream() in Expat.xs could overflow the XML input buffer because Perl's read() returns decoded characters while SvPV() gives back multi-byte UTF-8 bytes that can exceed the pre-allocated buffer size. This can cause heap corruption (double free or corruption) and crashes.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00671,"percentile":0.52982,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-176","name":"Improper Handling of Unicode Encoding"}],"references":[{"url":"https://rt.cpan.org/Ticket/Display.html?id=19859","tags":["issue-tracking"]},{"url":"https://github.com/cpan-authors/XML-Parser/issues/64","tags":["issue-tracking"]},{"url":"https://metacpan.org/release/TODDR/XML-Parser-2.46/changes","tags":["release-notes"]},{"url":"https://github.com/cpan-authors/XML-Parser/commit/56b0509dfc6b559cd7555ea81ee62e3622069255.patch","tags":["patch"]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/19/1","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/22/3","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":10.6},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"toddr","affectedVersions":[{"vendor":"TODDR","product":"XML::Parser","versions":["<= 2.45"]}],"solutions":{"items":["Apply the patch that has been publicly available since 2006-06-13 or upgrade to version 2.46 or later."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Apply the patch that has been publicly available since 2006-06-13."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-19T17:11:03.634936Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2006-7232","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-toddr-xml-parser-cve-2006-10002","children":[{"from":"CVE-2006-10002","to":"CVE-2006-10003","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Expat/Expat.xs"],"commits":["https://github.com/cpan-authors/XML-Parser/commit/56b0509dfc6b559cd7555ea81ee62e3622069255","https://github.com/cpan-authors/XML-Parser/commit/3eb9cc95420fa0c3f76947c4708962546bf27cfd"],"basis":"rarely changed file"}]}]}}