Описание
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
A flaw was found in XML::Parser, a Perl module for parsing XML. This vulnerability, an off-by-one heap buffer overflow, occurs when processing an XML file with very deep element nesting. A remote attacker could exploit this by providing a specially crafted XML file, potentially leading to memory corruption.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | perl-XML-Parser | Will not fix | ||
| Red Hat Enterprise Linux 10 | perl-XML-Parser | Fixed | RHSA-2026:7680 | 13.04.2026 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | perl-XML-Parser | Fixed | RHSA-2026:9110 | 20.04.2026 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | perl-XML-Parser | Fixed | RHSA-2026:8578 | 16.04.2026 |
| Red Hat Enterprise Linux 8 | perl-XML-Parser | Fixed | RHSA-2026:7681 | 13.04.2026 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | perl-XML-Parser | Fixed | RHSA-2026:8609 | 16.04.2026 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | perl-XML-Parser | Fixed | RHSA-2026:8608 | 16.04.2026 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | perl-XML-Parser | Fixed | RHSA-2026:8608 | 16.04.2026 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | perl-XML-Parser | Fixed | RHSA-2026:8610 | 16.04.2026 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | perl-XML-Parser | Fixed | RHSA-2026:8610 | 16.04.2026 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
8.8 High
CVSS3
Связанные уязвимости
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
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
XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack
XML::Parser versions through 2.47 for Perl has an off-by-one heap buff ...
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
EPSS
8.8 High
CVSS3