Vulnerability · Published Jun 25, 2026 · Assigned by CPANSec
CVE-2026-12844List::SomeUtils::XS versions before 0.59 for Perl have a heap buffer overflow in the pairwise function
High 7.5
In plain English
A high-severity out-of-bounds write in List::SomeUtils::XS from DROLSKY. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | liblist-someutils-xs-perl | no fix listed | DEBIAN-CVE-2026-12844 |
| Debian:13 | liblist-someutils-xs-perl | no fix listed | DEBIAN-CVE-2026-12844 |
| Debian:14 | liblist-someutils-xs-perl | 0.59-1 | DEBIAN-CVE-2026-12844 |
| Ubuntu:22.04:LTS | liblist-someutils-xs-perl | no fix listed | UBUNTU-CVE-2026-12844 |
| Ubuntu:24.04:LTS | liblist-someutils-xs-perl | no fix listed | UBUNTU-CVE-2026-12844 |
| Ubuntu:25.10 | liblist-someutils-xs-perl | no fix listed | UBUNTU-CVE-2026-12844 |
| Ubuntu:26.04:LTS | liblist-someutils-xs-perl | no fix listed | UBUNTU-CVE-2026-12844 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DROLSKY | List::SomeUtils::XS | 0 – before 0.59 |
Weakness: CWE-787, CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H