CPANSA-XML-Parser-2006-10002: XML-Parser vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-03-19T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-03-19T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.5 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
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. A :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.
Vulnerabilities
CVE-2006-10002
Vulnerability DescriptionXML::Parser versions through 2.45 for Perl could overflow the pre-allocated buffer size cause a heap corruption (double free or corruption) and crashes.
A :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.
| Weakness | CWE-122 : Heap-based Buffer Overflow |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| XML-Parser less than or equal 2.45 |
|
Fixed
- XML-Parser greater than or equal 2.48
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-XML-Parser-2006-10002 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-xml-parser-2006-10002.json - https://github.com/cpan-authors/XML-Parser/commit/56b0509dfc6b559cd7555ea81ee62e3622069255.patch external
https://github.com/cpan-authors/XML-Parser/commit/56b0509dfc6b559cd7555ea81ee62e3622069255.patch - https://github.com/cpan-authors/XML-Parser/issues/64 external
https://github.com/cpan-authors/XML-Parser/issues/64 - https://metacpan.org/release/TODDR/XML-Parser-2.46/changes external
https://metacpan.org/release/TODDR/XML-Parser-2.46/changes - https://rt.cpan.org/Ticket/Display.html?id=19859 external
https://rt.cpan.org/Ticket/Display.html?id=19859 - http://www.openwall.com/lists/oss-security/2026/03/19/1 external
http://www.openwall.com/lists/oss-security/2026/03/19/1 - http://www.openwall.com/lists/oss-security/2026/03/22/3 external
http://www.openwall.com/lists/oss-security/2026/03/22/3 - CVE-2006-10002 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2006-10002
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Thu Mar 19 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/