Skip to content

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

HighCVSS 7.5 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

7 packages: 2 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/liblist-someutils-xs-perl(Debian 12) = 0.58-3; = 0.59-1; All versions No fix listed No fix yet
debian/liblist-someutils-xs-perl(Debian 13) = 0.58-3; = 0.59-1; All versions No fix listed No fix yet
ubuntu/liblist-someutils-xs-perl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/liblist-someutils-xs-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/liblist-someutils-xs-perl(Ubuntu 26.04) All versions No fix listed No fix yet
debian/liblist-someutils-xs-perl(Debian 14) < 0.59-1; = 0.58-3 0.59-1 Fixed
DROLSKY List::SomeUtils::XS < 0.59 0.59 Fixed

Affected products

ProductAffected versionsFixed in
DROLSKY List::SomeUtils::XS < 0.59 0.59
debian/liblist-someutils-xs-perl(Debian:12) All versions No fix listed
debian/liblist-someutils-xs-perl(Debian:12) = 0.58-3 No fix listed
debian/liblist-someutils-xs-perl(Debian:12) = 0.59-1 No fix listed
debian/liblist-someutils-xs-perl(Debian:13) All versions No fix listed
debian/liblist-someutils-xs-perl(Debian:13) = 0.58-3 No fix listed
debian/liblist-someutils-xs-perl(Debian:13) = 0.59-1 No fix listed
debian/liblist-someutils-xs-perl(Debian:14) < 0.59-1 0.59-1
debian/liblist-someutils-xs-perl(Debian:14) = 0.58-3 No fix listed
ubuntu/liblist-someutils-xs-perl(Ubuntu:22.04) All versions No fix listed
ubuntu/liblist-someutils-xs-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/liblist-someutils-xs-perl(Ubuntu:26.04) All versions No fix listed

References