CVE-2026-12844

HIGH

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

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 7.5
EPSS 0.0040
EPSS Percentile 32.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-122 CWE-787
Status published
Products (1)
DROLSKY/List::SomeUtils::XS < 0.59
Published Jun 25, 2026
Tracked Since Jun 25, 2026