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.

Analysis

AI-generated

Technical impact

ExtUtils::Typemaps::STL::Vector modules prior to version 1.05 allocate an enormous 32 GiB array when processing an empty list. The typemap triggers av_extend with a length that expands to 2^32 slots, causing the Perl interpreter to attempt this allocation and exhaust memory, which in turn crashes or hangs the running process. The underlying weakness is an integer overflow handling flaw (CWE-191).

Affected Systems

The flaw exists in ExtUtils::Typemaps::STL::Vector for Perl, in versions before 1.05. Perl installations that load this module are vulnerable, and any Perl application or module that depends on it may also be affected. The issue is resolved in ExtUtils::Typemaps::Default 1.07 or later; modules that use the typemap must be rebuilt after upgrading to avoid reintroducing the defect.

Risk and Exploitability

The vulnerability can be triggered by any input that causes the typemap to process an empty list. Because the module performs a massive allocation, a local user who can run or influence a Perl program that uses the typemap can cause a denial‑of‑service. The EPSS score is less than 1%, indicating a very low probability of exploitation, and the entry is not listed in CISA’s KEV catalog. The CVSS score of 7.5 reflects a high severity of availability impact. Although the attack vector is inferred from the description, it likely requires the ability to supply data to the affected program, which could be local or remote if the program exposes a network interface.

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.


OpenCVE Recommended Actions

  • Upgrade ExtUtils::Typemaps::Default to version 1.07 or later.
  • Rebuild all Perl modules that depend on ExtUtils::Typemaps::Default to include the updated typemap.
  • Apply the patch from https://github.com/tsee/extutils-typemap-default/commit/0eb696b75afcfedbf87a72e11d44d98110863934.patch to ExtUtils::Typemaps::STL::Vector before rebuilding dependent modules.

Generated by OpenCVE AI on October 17, 2026 at 09:27 UTC.

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
  • CWE-191

    Integer Underflow (Wrap or Wraparound)

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