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
Metrics
Affected Vendors & Products
No advisories yet.
Solution
Apply the patch that has been publicly available since 2006-06-13 or upgrade to version 2.48 or later when it is released.
Workaround
Apply the patch that has been publicly available since 2006-06-13.
Thu, 19 Mar 2026 18:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Toddr
Toddr xml\ |
|
| CPEs | cpe:2.3:a:toddr:xml\:\:parser:*:*:*:*:*:perl:*:* | |
| Vendors & Products |
Toddr
Toddr xml\ |
Thu, 19 Mar 2026 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Thu, 19 Mar 2026 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Thu, 19 Mar 2026 11:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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 | |
| Title | XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack | |
| Weaknesses | CWE-122 CWE-193 |
|
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-03-19T17:20:57.866Z
Reserved: 2026-03-16T22:52:39.890Z
Link: CVE-2006-10003
Updated: 2026-03-19T17:20:57.866Z
Status : Analyzed
Published: 2026-03-19T12:16:17.047
Modified: 2026-03-19T18:41:18.180
Link: CVE-2006-10003
No data.
OpenCVE Enrichment
No data.