---
id: CVE-2013-10076
title: >-
  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 )
summary: >-
  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 sl…
severity: none
cwe:
  - CWE-191
published: '2026-10-10'
updated: '2026-10-10'
sourceUpdated: '2026-10-10T13:17:30.610'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2013-10076'
references:
  - url: >-
      https://github.com/tsee/extutils-typemap-default/commit/0eb696b75afcfedbf87a72e11d44d98110863934.patch
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: >-
      https://metacpan.org/release/SMUELLER/ExtUtils-Typemaps-Default-1.05/changes
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'https://rt.cpan.org/Public/Bug/Display.html?id=91213'
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
tags:
  - nvd
ingestedAt: '2026-10-10T14:06:22.136Z'
---

## Overview

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

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
