CVE-2013-10076

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

Published Oct 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to ExtUtils::Typemaps::Default version 1.07 or later. (Note that while this issue was fixed in version 1.05, a related issue was fixied in 1.07.) Rebuild any modules that use ExtUtils::Typemaps::Default as part of their build process.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
First Time appeared Perl
Perl extutils::typemaps::stl::vector
Vendors & Products Perl
Perl extutils::typemaps::stl::vector
Type Values Removed Values Added
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.
Title ExtUtils::Typemaps::STL::Vector versions before 1.05 for Perl allocate a 32 GiB array on an empty list
Weaknesses CWE-191
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Oct 16, 2026, 3:42 PM
Reserved
Oct 8, 2026, 9:40 PM
Status
Deferred
Published
Oct 10, 2026, 1:17 PM
Modified
Oct 16, 2026, 4:16 PM