XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.8epss 0.5%
exploitation probability
0.5%top 57% of all CVEs
observed exploitation
nono source reports it
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
TODDR · XML::ParserReferences
https://access.redhat.com/errata/RHSA-2026:7679https://access.redhat.com/errata/RHSA-2026:7680https://access.redhat.com/errata/RHSA-2026:7681https://access.redhat.com/errata/RHSA-2026:8577https://access.redhat.com/errata/RHSA-2026:8578https://access.redhat.com/errata/RHSA-2026:8608https://access.redhat.com/errata/RHSA-2026:8609https://access.redhat.com/errata/RHSA-2026:8610https://access.redhat.com/errata/RHSA-2026:9110https://access.redhat.com/errata/RHSA-2026:9246https://access.redhat.com/errata/RHSA-2026:9258https://access.redhat.com/errata/RHSA-2026:9259