Buffer overflow in Toddr Xml::parser
CVE-2006-10003
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
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 50.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Toddr Xml::parser — versions 0
- Toddr Xml\:\:parser
Weakness classification (CWE)
References
- rt.cpan.org/Ticket/Display.html (issue-tracking, Mailing List)
- github.com/cpan-authors/XML-Parser/issues/39 (issue-tracking, Issue Tracking)
- github.com/cpan-authors/XML-Parser/commit/3eb9cc95420fa0c3f76947c4708962546bf27… (Patch, patch)
- www.openwall.com/lists/oss-security/2026/03/19/2 (Mailing List, Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2026/04/msg00002.html
- access.redhat.com/errata/RHSA-2026:7679
- access.redhat.com/errata/RHSA-2026:7680
- access.redhat.com/errata/RHSA-2026:7681
- access.redhat.com/errata/RHSA-2026:8577
- access.redhat.com/errata/RHSA-2026:8578