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.
Published: 2026-10-10
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Memory Exhaustion
Action: Patch
AI Analysis

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.

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

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 yet.

History

Sat, 17 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 16 Oct 2026 16:30:00 +0000

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'}


Sun, 11 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Perl
Perl extutils::typemaps::stl::vector
Vendors & Products Perl
Perl extutils::typemaps::stl::vector

Sat, 10 Oct 2026 13:00:00 +0000

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

Subscriptions

Perl Extutils::typemaps::stl::vector
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-16T15:42:48.709Z

Reserved: 2026-10-08T21:40:58.015Z

Link: CVE-2013-10076

cve-icon Vulnrichment

Updated: 2026-10-16T15:41:34.684Z

cve-icon NVD

Status : Deferred

Published: 2026-10-10T13:17:30.610

Modified: 2026-10-16T16:16:47.690

Link: CVE-2013-10076

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T09:30:05Z

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)