CVEfocus › CVE database › CVE-2006-10002

CVE-2006-10002XML::Parser versions through 2.45 for Perl could overflow the pre-allocated buffer size…

CVSS 9.8 CriticalEPSS 0.7% (higher than 53% of CVEs)Published 2026-03-19Updated 2026-04-29Assigner: CPANSec

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() 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.

CWE-122CWE-176

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.

Red Hat, Ubuntu have 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
4Fix pending
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-10002
Ubuntu 24.04libxml-parser-perlFixed2.47-1ubuntu0.24.04.1UBUNTU-CVE-2006-10002
Ubuntu 22.04libxml-parser-perlFixed2.46-3ubuntu0.1UBUNTU-CVE-2006-10002
Ubuntu 20.04libxml-parser-perlFix pendingUBUNTU-CVE-2006-10002
Ubuntu 18.04libxml-parser-perlFix pendingUBUNTU-CVE-2006-10002
Ubuntu 16.04libxml-parser-perlFix pendingUBUNTU-CVE-2006-10002
Debian 14libxml-parser-perlFixed2.46-1DEBIAN-CVE-2006-10002
Debian 13libxml-parser-perlFixed2.46-1DEBIAN-CVE-2006-10002
Debian 12libxml-parser-perlFixed2.46-1DEBIAN-CVE-2006-10002
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-ParserFix pending
Affected
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.46 or later.

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.