High severity7.5NVD Advisory· Published Jun 25, 2026· Updated Jun 25, 2026
CVE-2026-12844
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.
Affected products
3- osv-coords2 versionspkg:rpm/opensuse/perl-List-SomeUtils-XS&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/perl-List-SomeUtils-XS&distro=openSUSE%20Tumbleweed
< 0.58-160000.3.2+ 1 more
- (no CPE)range: < 0.58-160000.3.2
- (no CPE)range: < 0.590.0-1.1
Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.