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
History

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

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-03-19T17:20:57.866Z

Reserved: 2026-03-16T22:52:39.890Z

Link: CVE-2006-10003

cve-icon Vulnrichment

Updated: 2026-03-19T17:20:57.866Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-19T12:16:17.047

Modified: 2026-03-19T18:41:18.180

Link: CVE-2006-10003

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.