CVE-2006-10003 Details
Description
XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack. In the case (stackptr == stacksize - 1), the stack will NOT be expanded. Then the new value will be written at location (++stackptr), which equals stacksize and therefore falls just outside the allocated buffer. The bug can be observed when parsing an XML file with very deep element nesting
A heap buffer overflow vulnerability has been identified in XML::Parser for Perl, affecting versions through 2.47. The issue arises in the 'st_serial_stack' management, where the stack pointer can exceed the allocated buffer size. This flaw occurs when parsing XML files with deep element nesting, leading to potential memory corruption.
Users can upgrade to XML::Parser version 2.47 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | CPANSec |
| CWE-193 | Off-by-one Error | redhat-SADP |
| CWE-193 | Off-by-one Error | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| toddr xml::parser | < 2.48 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 16, 2026 | CVE Modified | CISA-ADP |
| Jun 16, 2026 | CVE Modified | CPANSec |
| Apr 4, 2026 | CVE Modified | CVE |
| Mar 19, 2026 | Initial Analysis | [email protected] |
| Mar 19, 2026 | CVE Modified | CVE |
| Mar 19, 2026 | CVE Modified | CISA-ADP |
| Mar 19, 2026 | New CVE Received | CPANSec |