# CVE-2006-10003: XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-03-19T11:08:04.341Z
- Modified: 2026-07-15T02:16:55.277Z
- Weaknesses: CWE-122, CWE-193
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## 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

(As written by CVE List.)

## Affected

- XML-Parser: up to 2.47
- perl-XML-Parser: no versions given (not affected: from 0:2.47-6.1.el10_1 before *; from 0:2.47-6.el10_0.1 before *; from 0:2.41-10.el7_9.1 before *; from 0:2.44-12.el8_10 before *; from 0:2.44-11.el8_2.1 before *; from 0:2.44-11.el8_4.1 before *; from 0:2.44-11.el8_6.1 before *; from 0:2.44-11.el8_8.1 before *; from 0:2.46-9.1.el9_7 before *; from 0:2.46-9.el9_0.1 before *; from 0:2.46-9.el9_2.1 before *; from 0:2.46-9.el9_4.1 before *)
- toddr xml::parser: before 2.48

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://rt.cpan.org/Ticket/Display.html?id=19860> (issue-tracking, mailing-list)
- <https://github.com/cpan-authors/XML-Parser/issues/39> (issue-tracking)
- <https://github.com/cpan-authors/XML-Parser/commit/3eb9cc95420fa0c3f76947c4708962546bf27cfd.patch> (patch)
- <http://www.openwall.com/lists/oss-security/2026/03/19/2> (mailing-list, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2026/04/msg00002.html>
- <https://access.redhat.com/security/cve/CVE-2006-10003> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2448999> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2006/cve-2006-10003.json>
- <https://access.redhat.com/errata/RHSA-2026:8578> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9110> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7680> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7681> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8609> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8608> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8610> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8577> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9246> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9258> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9259> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9605> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7679> (vendor-advisory)

## Sources

- CVE List: [CVE-2006-10003](https://www.cve.org/CVERecord?id=CVE-2006-10003), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2006-10003](https://nvd.nist.gov/vuln/detail/CVE-2006-10003), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2006-10003 · Whole record: https://cve.day/CVE-2006-10003.json · Rebuilt by cve.day 2026-11-25T22:56:59.117Z
