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 Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| 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-Parser-debuginfoUpgrade perl-XML-Parser | May 20, 2026 | May 20, 2026 |
| Amazon_linux_2023 | — | Upgrade perl-XML-Parser-testsUpgrade perl-XML-Parser-debugsourceUpgrade perl-XML-Parser-debuginfoUpgrade perl-XML-Parser | 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 | — | No solution existsUpgrade perl-XML-ParserUpgrade perl-XML-Parser-debuginfoUpgrade perl-XML-Parser-debugsource | Apr 14, 2026 | Mar 19, 2026 |
| Rocky_linux | — | Upgrade perl-XML-ParserUpgrade perl-XML-Parser-debuginfoUpgrade perl-XML-Parser-debugsource | 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 |
Prioritise with Active Threat Intelligence
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