Skip to content
OpenAdvisories
High · 7.5 CVE-2026-12844 EUVD-2026-39444GHSA-h2pv-qmv8-hvcv

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

Published Jun 25, 2026 · Updated Jun 25, 2026 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
DROLSKY List::SomeUtils::XS < 0.59 0.59

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 liblist-someutils-xs-perl 0.59-1 —
Debian 13 liblist-someutils-xs-perl No fix yet —
Debian 12 liblist-someutils-xs-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS liblist-someutils-xs-perl No fix yet —
Ubuntu 25.10 liblist-someutils-xs-perl No fix yet —
Ubuntu 24.04 LTS liblist-someutils-xs-perl No fix yet —
Ubuntu 22.04 LTS liblist-someutils-xs-perl No fix yet —
Ubuntu 20.04 LTS liblist-someutils-xs-perl No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-List-SomeUtils-XS 0.56-150000.3.3.1 SUSE-SU-2026:2845-1
SLES 15 SP6 perl-List-SomeUtils-XS 0.56-150000.3.3.1 SUSE-SU-2026:2845-1
SLES 15 SP5 perl-List-SomeUtils-XS 0.56-150000.3.3.1 SUSE-SU-2026:2845-1
SLES 15 SP4 perl-List-SomeUtils-XS 0.56-150000.3.3.1 SUSE-SU-2026:2845-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 perl-List-SomeUtils-XS 0.58-160000.3.2 SUSE-SU-2026:22559-1
SLES for SAP 15 SP6 perl-List-SomeUtils-XS 0.56-150000.3.3.1 SUSE-SU-2026:2845-1
SLES for SAP 15 SP5 perl-List-SomeUtils-XS 0.56-150000.3.3.1 SUSE-SU-2026:2845-1
SLES for SAP 15 SP4 perl-List-SomeUtils-XS 0.56-150000.3.3.1 SUSE-SU-2026:2845-1
SLES 16.0 perl-List-SomeUtils-XS 0.58-160000.3.2 SUSE-SU-2026:22559-1
SLE HPC 15 SP5 perl-List-SomeUtils-XS 0.56-150000.3.3.1 SUSE-SU-2026:2845-1
SLE HPC 15 SP4 perl-List-SomeUtils-XS 0.56-150000.3.3.1 SUSE-SU-2026:2845-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-List-SomeUtils-XS 0.590.0-1.1 openSUSE-SU-2026:11179-1
openSUSE Leap 16.0 perl-List-SomeUtils-XS 0.58-160000.3.2 openSUSE-SU-2026:21218-1

Advisories 4

References