XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack
Summary
| CVE | CVE-2006-10003 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-19 12:16:17 UTC |
| Updated | 2026-04-04 09:16:18 UTC |
| 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 |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-122 | CWE-193 | CWE-193 CWE-193 Off-by-one Error | CWE-122 CWE-122 Heap-based Buffer Overflow
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | ADP | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| rt.cpan.org/Ticket/Display.html | 9b29abf9-4ab0-4765-b253-1875cd9b441e | rt.cpan.org | Mailing List |
| github.com/cpan-authors/XML-Parser/issues/39 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | Issue Tracking |
| github.com/cpan-authors/XML-Parser/commit/3eb9cc95420fa0c3f76947c4708962... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | Patch |
| www.openwall.com/lists/oss-security/2026/03/19/2 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Patch, Third Party Advisory |
| lists.debian.org/debian-lts-announce/2026/04/msg00002.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2006-06-13T00:00:00.000Z | Issue logged and patch provided in Request Tracker for XML::Parser |
| CNA | 2019-09-23T00:00:00.000Z | Issue migrated to github issue tracker |
| CNA | 2019-09-24T00:00:00.000Z | Patch provided in github issue tracker |
| CNA | 2026-03-16T00:00:00.000Z | PR created and commit merged to git repo |
Solutions
CNA: Apply the patch that has been publicly available since 2006-06-13 or upgrade to version 2.48 or later when it is released.
Workarounds
CNA: Apply the patch that has been publicly available since 2006-06-13.
There are currently no legacy QID mappings associated with this CVE.