CVE-2026-107794: CWE-191 Integer Underflow (Wrap or Wraparound)
Description
ExtUtils::Typemaps::STL::List versions before 1.07 for Perl contain an integer underflow vulnerability that causes allocation of a 32 GiB array when processing an empty list. This occurs because the output typemaps call av_extend(av, len-1), which underflows when len is zero, leading to excessive memory allocation and potential exhaustion. A similar issue was previously fixed in ExtUtils::Typemaps::STL::Vector version 1.05.
Affected software
pkg:github/ExtUtils-Typemaps-DefaultRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ExtUtils::Typemaps::STL::List (versions <1.07) arises from an integer underflow in the output typemaps function. Specifically, the call av_extend(av, len-1) is made where len is the length of the list. When the list is empty (len=0), len-1 underflows to a large unsigned integer, causing av_extend to allocate an array with 2^32 slots (approximately 32 GiB). This leads to memory exhaustion. The issue is related to CWE-191 (Integer Underflow). A similar vulnerability was fixed in the related ExtUtils::Typemaps::STL::Vector module in version 1.05.
Potential Impact
The integer underflow causes the application to allocate an extremely large amount of memory (32 GiB) when processing an empty list, which can lead to memory exhaustion. This may cause denial of service due to resource depletion. There is no indication of code execution or data corruption from the provided data.
Mitigation Recommendations
No official patch or fix is currently documented in the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should avoid processing empty lists with vulnerable versions or apply any available updates once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-10-08T21:16:53.596Z
- State
- PUBLISHED
Threat ID: 6aca37b92cdf04f6562e0f52
Added to database: 10/10/2026, 13:03:53 UTC
Last enriched: 10/10/2026, 13:18:15 UTC
Last updated: 10/10/2026, 13:18:54 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.