Off-by-one Error Affecting perl-XML-Parser-debuginfo package, versions <0:2.41-10.amzn2.0.3


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.07% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-PERLXMLPARSERDEBUGINFO-16081038
  • published16 Apr 2026
  • disclosed19 Mar 2026

Introduced: 19 Mar 2026

NewCVE-2006-10003  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 perl-XML-Parser-debuginfo to version 0:2.41-10.amzn2.0.3 or higher.
This issue was patched in ALAS2-2026-3230.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-XML-Parser-debuginfo package and not the perl-XML-Parser-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1