CVEfocus › CVE database › CVE-2026-12844

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

CVSS 7.5 HighEPSS 0.7% (higher than 46% of CVEs)Published 2026-06-25Updated 2026-06-25Assigner: CPANSec

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.

CWE-122CWE-787

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04liblist-someutils-xs-perlUnder investigationUBUNTU-CVE-2026-12844
Ubuntu 25.10liblist-someutils-xs-perlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-12844
Ubuntu 24.04liblist-someutils-xs-perlUnder investigationUBUNTU-CVE-2026-12844
Ubuntu 22.04liblist-someutils-xs-perlUnder investigationUBUNTU-CVE-2026-12844
Ubuntu 20.04liblist-someutils-xs-perlFix pendingUBUNTU-CVE-2026-12844
Debian 14liblist-someutils-xs-perlFixed0.59-1DEBIAN-CVE-2026-12844
Debian 13liblist-someutils-xs-perlFix pendingDEBIAN-CVE-2026-12844
Debian 12liblist-someutils-xs-perlFix pendingDEBIAN-CVE-2026-12844

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to List::SomeUtils::XS 0.59 or later.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.