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
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade perl-XML-Parser | Apr 16, 2026 | Apr 13, 2026 |
| Amazon Linux Ami 2 | — | Upgrade perl-XML-ParserUpgrade perl-XML-Parser-debuginfo | May 20, 2026 | May 20, 2026 |
| Amazon_linux_2023 | — | Upgrade perl-XML-ParserUpgrade perl-XML-Parser-debuginfoUpgrade perl-XML-Parser-testsUpgrade perl-XML-Parser-debugsource | Apr 14, 2026 | Mar 19, 2026 |
| Debian | — | Upgrade libxml-parser-perl | Mar 30, 2026 | Mar 30, 2026 |
| Oracle_linux | — | Upgrade perl-XML-Parser | Apr 22, 2026 | Mar 19, 2026 |
| Redhat_linux | — | Upgrade perl-XML-Parser-debuginfoUpgrade perl-XML-Parser-debugsourceNo solution existsUpgrade perl-XML-Parser | Apr 14, 2026 | Mar 19, 2026 |
| Rocky_linux | — | Upgrade perl-XML-ParserUpgrade perl-XML-Parser-debugsourceUpgrade perl-XML-Parser-debuginfo | Apr 15, 2026 | Apr 14, 2026 |
| Suse | — | Upgrade perl-XML-Parser | Sep 1, 2026 | Mar 19, 2026 |
| Ubuntu | — | Upgrade libxml-parser-perl | Apr 15, 2026 | Mar 19, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub