CVE-2006-10002CWE-122CWE-176

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

Critical · published March 19, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
48.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00614 · 48.8th percentile
Weaknesses
CWE-122 · Heap-based Buffer Overflow; CWE-176 · Improper Handling of Unicode Encoding
Published
2026-03-19T11:03Z
EPSS history
Timeline
  • 19 MAR 11:03Z
    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
    cvelistv5