All reports
Medium

perl-xml-parser: XML::Parser for Perl: Heap corruption and denial of service from crafted XML input

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2006-10002

Probability of exploitation in the next 30 days: 0.67%

FIRST EPSS · 2026-11-20

Description

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.

A flaw was found in XML::Parser for Perl. This vulnerability allows an attacker to cause a heap corruption, which can lead to a denial of service (DoS) by crashing the application. The issue occurs when the software processes specially crafted XML input, causing an internal buffer to overflow. This overflow can corrupt memory, leading to instability and application termination.