Vulnerabilities / CVE-2006-10003

critical

CVE-2006-10003

perl-xml-parser: XML::Parser: Memory corruption via deeply nested XML files

Published Modified CWE 122, 193
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Azure Linux (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).

Description

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

Affected packages and fixed versions

SourcePackageFixed in
alma 8perl-XML-Parser2.44-12.el8_10
alma 9perl-XML-Parser2.46-9.1.el9_7
amazon linux 2perl-XML-Parser, perl-XML-Parser-debuginfo2.41-10.amzn2.0.3
amazon linux 2023perl-XML-Parser, perl-XML-Parser-debuginfo, perl-XML-Parser-debugsource and 1 more2.51-1.amzn2023.0.1
Azure Linux 3.0perl-XML-Parser0:2.47-2.azl3
debian 11libxml-parser-perl2.46-2+deb11u1
debian 12libxml-parser-perl2.46-4+deb12u1
debian 13libxml-parser-perl2.47-2~deb13u1
debian 14libxml-parser-perl2.47-2
echolibxml-parser-perl2.46-4+deb12u1
Oracle Linux 7perl-XML-Parser2.41-10.0.3.el7_9
Oracle Linux 8perl-XML-Parser2.44-12.0.1.el8_10
Show all 34 entries from 29 sources
SourcePackageFixed in
alma 8perl-XML-Parser2.44-12.el8_10
alma 9perl-XML-Parser2.46-9.1.el9_7
amazon linux 2perl-XML-Parser2.41-10.amzn2.0.3
amazon linux 2perl-XML-Parser-debuginfo2.41-10.amzn2.0.3
amazon linux 2023perl-XML-Parser2.51-1.amzn2023.0.1
amazon linux 2023perl-XML-Parser-debuginfo2.51-1.amzn2023.0.1
amazon linux 2023perl-XML-Parser-debugsource2.51-1.amzn2023.0.1
amazon linux 2023perl-XML-Parser-tests2.51-1.amzn2023.0.1
Azure Linux 3.0perl-XML-Parser0:2.47-2.azl3
debian 11libxml-parser-perl2.46-2+deb11u1
debian 12libxml-parser-perl2.46-4+deb12u1
debian 13libxml-parser-perl2.47-2~deb13u1
debian 14libxml-parser-perl2.47-2
echolibxml-parser-perl2.46-4+deb12u1
Oracle Linux 7perl-XML-Parser2.41-10.0.3.el7_9
Oracle Linux 8perl-XML-Parser2.44-12.0.1.el8_10
Oracle Linux 9perl-XML-Parser2.46-9.1.0.1.el9_7
rapidfort amazon linux 2023perl-XML-Parser2.51-1.amzn2023.0.1
rapidfort debian 12libxml-parser-perl0:2.47-2, 0:2.47-2~deb13u1
rapidfort debian 13libxml-parser-perl0:2.47-2, 0:2.47-2~deb13u1
rapidfort fedora 43perl-XML-Parser2.51-1.fc43
rapidfort fedora 43perl-XML-Parser-tests2.51-1.fc43
rapidfort Oracle Linux 10perl-XML-Parser0:2.47-6.1.0.1.el10_1
rapidfort Oracle Linux 9perl-XML-Parser0:2.46-9.1.0.1.el9_7
rapidfort ubuntu 20.04libxml-parser-perl0:2.46-3ubuntu0.1, 0:2.47-1ubuntu0.24.04.1
rapidfort ubuntu 22.04libxml-parser-perl0:2.46-3ubuntu0.1, 0:2.47-1ubuntu0.24.04.1
rapidfort ubuntu 24.04libxml-parser-perl0:2.46-3ubuntu0.1, 0:2.47-1ubuntu0.24.04.1
Red Hatperl-XML-Parserno fix listed
rocky 10perl-XML-Parser2.47-6.1.el10_1
rocky 8perl-XML-Parser2.44-12.el8_10
rocky 9perl-XML-Parser2.46-9.1.el9_7
ubuntu 22.04libxml-parser-perl2.46-3ubuntu0.1
ubuntu 24.04libxml-parser-perl2.47-1ubuntu0.24.04.1
ubuntu 25.10libxml-parser-perl2.47-1ubuntu0.25.10.1

References

All 35 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.