CVE-2013-10076: ExtUtils::Typemaps::STL::Vector versions before 1.05 for Perl allocate a 32 GiB array on an empty list
ExtUtils::Typemaps::STL::Vector versions before 1.05 for Perl allocate a 32 GiB array on an empty list.
The OUTPUT typemaps call avextend( av, len-1 ). On an empty list, this undeflows, and avextend will allocate an array with 2^32 slots, leading to memory exhaustion.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ExtUtils::Typemaps::Defaultto a version that resolves this vulnerability.Fixed in 1.07 - Operational
Rebuild any modules that use ExtUtils::Typemaps::Default as part of their build process.