Skip to content

CVE-2013-10076 ExtUtils::Typemaps::STL::Vector versions before 1.05 for Perl allocate a 32 GiB array on an empty list

HighCVSS 7.5 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known

Description

ExtUtils::Typemaps::STL::Vector versions before 1.05 for Perl allocate a 32 GiB array on an empty list.

The OUTPUT typemaps call av_extend( av, len-1 ). On an empty list, this undeflows, and av_extend will allocate an array with 2^32 slots, leading to memory exhaustion.

Affected products

ProductAffected versionsFixed in
debian/libextutils-typemaps-default-perl(Debian:12) < 1.05-1 1.05-1
debian/libextutils-typemaps-default-perl(Debian:13) < 1.05-1 1.05-1
debian/libextutils-typemaps-default-perl(Debian:14) < 1.05-1 1.05-1
ubuntu/libextutils-typemaps-default-perl(Ubuntu:24.04) All versions No fix listed
cpan ExtUtils-Typemaps-Default < 1.05 1.05
ubuntu/libextutils-typemaps-default-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libextutils-typemaps-default-perl(Ubuntu:26.10) All versions No fix listed
ubuntu/libextutils-typemaps-default-perl(Ubuntu:22.04) All versions No fix listed

References