CVEfocus › CVE database › CVE-2006-10003

CVE-2006-10003XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in…

CVSS 9.8 CriticalEPSS 0.6% (higher than 51% of CVEs)Published 2026-03-19Updated 2026-07-15Assigner: CPANSec

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

CWE-122CWE-193

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
3Fix pending
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libxml-parser-perlNot affected
vulnerable_code_not_present
Ubuntu 25.10libxml-parser-perlFixed2.47-1ubuntu0.25.10.1UBUNTU-CVE-2006-10003
Ubuntu 24.04libxml-parser-perlFixed2.47-1ubuntu0.24.04.1UBUNTU-CVE-2006-10003
Ubuntu 22.04libxml-parser-perlFixed2.46-3ubuntu0.1UBUNTU-CVE-2006-10003
Ubuntu 20.04libxml-parser-perlFix pendingUBUNTU-CVE-2006-10003
Ubuntu 18.04libxml-parser-perlFix pendingUBUNTU-CVE-2006-10003
Ubuntu 16.04libxml-parser-perlFix pendingUBUNTU-CVE-2006-10003
Debian 14libxml-parser-perlFixed2.47-2DEBIAN-CVE-2006-10003
Debian 13libxml-parser-perlFixed2.47-2~deb13u1DEBIAN-CVE-2006-10003
Debian 12libxml-parser-perlFixed2.46-4+deb12u1DEBIAN-CVE-2006-10003
Red Hat Enterprise Linux 10perl-XML-ParserFixed0:2.47-6.1.el10_1RHSA-2026:7680
Red Hat Enterprise Linux 9perl-XML-ParserFixed0:2.46-9.1.el9_7RHSA-2026:7679
Red Hat Enterprise Linux 8perl-XML-ParserFixed0:2.44-12.el8_10RHSA-2026:7681
Red Hat Enterprise Linux 6perl-XML-ParserWill not fix
Will not fix
AlmaLinux 10perl-XML-ParserFixed2.47-6.1.el10_1ALSA-2026:7680
AlmaLinux 9perl-XML-ParserFixed2.46-9.1.el9_7ALSA-2026:7679
AlmaLinux 8perl-XML-ParserFixed2.44-12.el8_10ALSA-2026:7681
Rocky Linux 10perl-XML-ParserFixed0:2.47-6.1.el10_1RLSA-2026:7680
Rocky Linux 9perl-XML-ParserFixed0:2.46-9.1.el9_7RLSA-2026:7679
Rocky Linux 8perl-XML-ParserFixed0:2.44-12.el8_10RLSA-2026:7681

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Apply the patch that has been publicly available since 2006-06-13 or upgrade to version 2.48 or later when it is released.

Workaround: Apply the patch that has been publicly available since 2006-06-13.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.