Vulnerability · Published Jun 25, 2026 · Assigned by CPANSec

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

High 7.5

In plain English

A high-severity out-of-bounds write in List::SomeUtils::XS from DROLSKY. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 48.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12liblist-someutils-xs-perlno fix listedDEBIAN-CVE-2026-12844
Debian:13liblist-someutils-xs-perlno fix listedDEBIAN-CVE-2026-12844
Debian:14liblist-someutils-xs-perl0.59-1DEBIAN-CVE-2026-12844
Ubuntu:22.04:LTSliblist-someutils-xs-perlno fix listedUBUNTU-CVE-2026-12844
Ubuntu:24.04:LTSliblist-someutils-xs-perlno fix listedUBUNTU-CVE-2026-12844
Ubuntu:25.10liblist-someutils-xs-perlno fix listedUBUNTU-CVE-2026-12844
Ubuntu:26.04:LTSliblist-someutils-xs-perlno fix listedUBUNTU-CVE-2026-12844

Affected products (as reported)

VendorProductVersions
DROLSKY List::SomeUtils::XS 0 – before 0.59

Weakness: CWE-787, CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References