Skip to main content

List::SomeUtils::XS CVE-2026-12844

| EUVDEUVD-2026-39444 HIGH
Out-of-bounds Write (CWE-787)
2026-06-25 CPANSec GHSA-h2pv-qmv8-hvcv
7.5
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach app path calling pairwise()
  2. Delivery
    Supply input inflating single-pair return >4x array length
  3. Exploit
    Block returns oversized value list
  4. Execution
    Copy writes past heap buffer end
  5. Impact
    Heap corruption / process crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a Perl application that (1) has the XS backend of List::SomeUtils::XS before 0.59 installed and active, (2) calls pairwise(), and (3) lets attacker-influenced data control the number of values the block returns for a single input pair. The concrete trigger is a single block invocation returning more than four times the longer input array's length (e.g. a 1-element array with a block returning 100,000 values). Limiting factors: the module is only exploitable through such a calling program - it is not remotely reachable on its own - impact is availability/heap-corruption only (no confidentiality or integrity impact per NVD), and typical fixed-size or small block returns never reach the 4x-of-allocation threshold, so default and ordinary usage is not affected.

Impact

The signals are mixed and the headline CVSS overstates real-world exploitability. NVD scores CVSS 7.5 with AV:N/AC:L/PR:N/UI:N and A:H, but that network vector is inherited from a generic 'library used in web contexts' assumption - actual triggering requires an application that both calls pairwise() and lets attacker-influenced data control how many values the block returns for one pair, which is an uncommon and application-specific data flow, so effective complexity is higher than AC:L suggests. Impact is availability-only (C:N/I:N) per NVD; a heap out-of-bounds write of SV* pointers could in principle be leveraged further, but no such capability is demonstrated. Corroborating the lower-urgency read: EPSS is 0.42% (34th percentile), SSVC exploitation status is 'none', and there is no KEV listing - so this is not an active-exploitation priority. SSVC 'Automatable: yes' with 'Technical Impact: partial' plus the trivially reproducible test case (a block returning 100,000 values for a 1-element pair) mean the bug is easy to trip accidentally or deliberately once a vulnerable call path exists. Net: patch on a normal cadence; treat as elevated only where pairwise() processes untrusted-influenced list sizes.

Exploit ScenarioDerived

An application uses pairwise { ... } @a, @b where the block's per-pair return size is influenced by untrusted input (for example expanding each element by a request-controlled repeat count). An attacker supplies a value causing one block invocation to return more than four times the longer array's length, so the collected results overflow the heap buffer and corrupt adjacent memory, crashing the process (denial of service) or destabilizing the interpreter. No public exploit is identified, but the fix commit's own test (returning 100,000 values for a single pair) shows how trivially the overflow is triggered.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Heap buffer overflow in the Perl module List::SomeUtils::XS before 0.59 lets a program corrupt heap memory whenever its pairwise() block returns, for a single input pair, more than four times the longer input array's length. The C-level pairwise() implementation grows its result buffer with a single quadrupling (alloc <<= 2) rather than a loop, so an oversized single-call return outruns the allocation and the copy writes past the buffer end. No public exploit identified at time of analysis; EPSS is low (0.42%) and SSVC records no observed exploitation, but a vendor patch (0.59) is available and the trigger is trivially demonstrable.

RemediationAI

Vendor-released patch: upgrade List::SomeUtils::XS to version 0.59 or later (fix by Paul Johnson, replacing the single 'alloc <<= 2' with a 'while (nitems > alloc) alloc <<= 2' loop before Renew), available via CPAN and documented at https://metacpan.org/release/DROLSKY/List-SomeUtils-XS-0.59/changes; the exact code fix is in commit 22549f78669b780d6aa338a2d2e49a3dedfffaa6 (https://github.com/houseabsolute/List-SomeUtils-XS/commit/22549f78669b780d6aa338a2d2e49a3dedfffaa6.patch). On SUSE and other distributions, apply the vendor-provided perl-List-SomeUtils-XS update once it ships 0.59. If you cannot upgrade immediately, the effective compensating control is to force the pure-Perl fallback by uninstalling or not loading the XS backend (List::SomeUtils then uses its slower pure-Perl pairwise, which is not affected) at the cost of performance, or to audit and bound your pairwise() blocks so a single pair cannot return an attacker-influenced, unbounded list - trade-off is code changes and reduced flexibility. See also the oss-security advisory at https://seclists.org/oss-sec/2026/q2/1031.

Affected VersionsENISA

List::SomeUtils::XS 0 <0.59

Affected Packages

euvd list_someutils_xs fix: 0.59

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

List::SomeUtils::XS is the XS (C) acceleration backend for the widely-used List::SomeUtils Perl utility collection; when installed it transparently replaces the pure-Perl implementations with faster compiled versions. The affected pairwise() function walks two input arrays in parallel, invokes a user-supplied block for each pair, and collects the block's return values into a heap buffer (buf) of SV* pointers, initially sized to the longer of the two arrays. This is a classic CWE-787 Out-of-bounds Write: before each copy the code enlarged the buffer with a single 'alloc <<= 2' quadrupling instead of looping until the allocation was large enough, so any single block invocation returning more than 4x the current allocation writes SV* pointers beyond the end of buf, corrupting adjacent heap metadata and allocations. The CPE cpe:2.3:a:drolsky:list::someutils::xs:*:*:* confirms all versions prior to the fix are in scope.

Know when List gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CPANSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Reachable via network-fed data only in apps whose pairwise block size is attacker-influenced (AC:H), no auth needed at that layer (PR:N), and impact is heap-corruption DoS, so A:H with C:N/I:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVE Published
Jun 25, 2026 - 15:26 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 25, 2026 - 15:26 cve.org
HIGH 7.5

DescriptionCVE.org

List::SomeUtils::XS versions before 0.59 for Perl have a heap buffer overflow in the pairwise function.

pairwise() collects the values returned by the block into a heap buffer sized to the longer input array, then grows the buffer before each copy with a single quadrupling (alloc <<= 2) instead of a loop. A block call that returns more than four times the current allocation in one invocation outgrows that one quadrupling, and the copy writes past the end of the buffer.

Any caller of pairwise() whose block returns, for a single pair, more than four times the longer input array's length writes past the buffer and corrupts the heap.

Executive ViewAI

Why It Matters

The List::SomeUtils::XS Perl module (versions before 0.59) contains a memory corruption vulnerability that could cause application instability or system compromise for organizations deploying this component. While exploitation likelihood is currently low, the vulnerability's potential severity and broad presence in Perl ecosystems warrant immediate patching to reduce operational risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche Perl XS optimization module, limited to Perl deployments using List::SomeUtils
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy