Skip to content
OpenAdvisories
High ALSA-2026:7679 2 CVEs

Important: perl-XML-Parser security update

Published Apr 13, 2026 · Updated Oct 29, 2026

Summary

This module provides ways to parse XML documents. It is built on top of XML::Parser::Expat, which is a lower level interface to James Clark's expat library. Each call to one of the parsing methods creates a new instance of XML::Parser::Expat which is then used to parse the document. Expat options may be provided when the XML::Parser object is created. These options are then passed on to the Expat object on each parse call. They can also be given as extra arguments to the parse methods, in which case they override options given at XML::Parser creation time.

Security Fix(es):

* perl-xml-parser: XML::Parser: Memory corruption via deeply nested XML files (CVE-2006-10003)
* perl-xml-parser: XML::Parser for Perl: Heap corruption and denial of service from crafted XML input (CVE-2006-10002)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Fixed packages 1

ReleasePackageFixed in
AlmaLinux · 9 perl-XML-Parser 2.46-9.1.el9_7

Vulnerabilities 2

  • Critical 9.8

    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

    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 Perl's read()…

  • Critical 9.8

    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 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 …

References

  • report
    https://access.redhat.com/security/cve/CVE-2006-10002
  • report
    https://access.redhat.com/security/cve/CVE-2006-10003
  • report
    https://bugzilla.redhat.com/2448999
  • report
    https://bugzilla.redhat.com/2449001
  • advisory
    https://errata.almalinux.org/9/ALSA-2026-7679.html