XML::Parser versions through 2.45 for Perl could overflow the pre-allocated buffer size cause a heap corruption (double free or corruption) and crashes.
A :utf8 PerlIO layer, parse_stream() in Expat.xs could overflow the XML input buffer because Perls read() returns decoded characters while SvPV() gives back multi-byte UTF-8 bytes that can exceed the pre-allocated buffer size. This can cause heap corruption (double free or corruption) and crashes.
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Xml::parser | Toddr | * | 2.48 (excluding) |
| Red Hat Enterprise Linux 10 | RedHat | perl-XML-Parser-0:2.47-6.1.el10_1 | * |
| Red Hat Enterprise Linux 10.0 Extended Update Support | RedHat | perl-XML-Parser-0:2.47-6.el10_0.1 | * |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | RedHat | perl-XML-Parser-0:2.41-10.el7_9.1 | * |
| Red Hat Enterprise Linux 8 | RedHat | perl-XML-Parser-0:2.44-12.el8_10 | * |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | RedHat | perl-XML-Parser-0:2.44-11.el8_2.1 | * |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | RedHat | perl-XML-Parser-0:2.44-11.el8_4.1 | * |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | RedHat | perl-XML-Parser-0:2.44-11.el8_4.1 | * |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | RedHat | perl-XML-Parser-0:2.44-11.el8_6.1 | * |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | RedHat | perl-XML-Parser-0:2.44-11.el8_6.1 | * |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | RedHat | perl-XML-Parser-0:2.44-11.el8_6.1 | * |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | perl-XML-Parser-0:2.44-11.el8_8.1 | * |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | perl-XML-Parser-0:2.44-11.el8_8.1 | * |
| Red Hat Enterprise Linux 9 | RedHat | perl-XML-Parser-0:2.46-9.1.el9_7 | * |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | RedHat | perl-XML-Parser-0:2.46-9.el9_0.1 | * |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | RedHat | perl-XML-Parser-0:2.46-9.el9_2.1 | * |
| Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | perl-XML-Parser-0:2.46-9.el9_4.1 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | perl-XML-Parser-0:2.46-9.el9_6.1 | * |
| Libxml-parser-perl | Ubuntu | esm-infra/xenial | * |
| Libxml-parser-perl | Ubuntu | jammy | * |
| Libxml-parser-perl | Ubuntu | noble | * |
| Libxml-parser-perl | Ubuntu | questing | * |
| Libxml-parser-perl | Ubuntu | upstream | * |