Back to overview

CVE-2026-12844

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.

Metadata

CVE ID
CVE-2026-12844
State
PUBLISHED
Assigner
CPANSec
Reserved
2026-06-21 21:38 UTC
Published
2026-06-25 15:26 UTC
Last updated
2026-06-25 15:26 UTC
Primary CWE
CWE-787
CWE-787 Out-of-bounds Write
Vendor / Product
DROLSKY / List::SomeUtils::XS
Sources
cve.org  ·  NVD

Severity & Metrics

No CVSS data available.

Affected products (1)
VendorProductPlatformVersions
DROLSKY List::SomeUtils::XS 0 < 0.59
Weakness (CWE)
CWESourceDescription
CWE-122 cna CWE-122 Heap-based Buffer Overflow
CWE-787 cna CWE-787 Out-of-bounds Write
Back to overview