CPANSA-List-SomeUtils-XS-2026-12844: List-SomeUtils-XS vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-06-25T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-06-25T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.5 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-12844
Vulnerability DescriptionList::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.
| Weakness | CWE-122 : Heap-based Buffer Overflow |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| List-SomeUtils-XS less than 0.59 |
|
Fixed
- List-SomeUtils-XS greater than or equal 0.59
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-List-SomeUtils-XS-2026-12844 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-list-someutils-xs-2026-12844.json - https://github.com/houseabsolute/List-SomeUtils-XS/commit/22549f78669b780d6aa338a2d2e49a3dedfffaa6.patch external
https://github.com/houseabsolute/List-SomeUtils-XS/commit/22549f78669b780d6aa338a2d2e49a3dedfffaa6.patch - https://metacpan.org/release/DROLSKY/List-SomeUtils-XS-0.59/changes external
https://metacpan.org/release/DROLSKY/List-SomeUtils-XS-0.59/changes - http://www.openwall.com/lists/oss-security/2026/06/25/11 external
http://www.openwall.com/lists/oss-security/2026/06/25/11 - CVE-2026-12844 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-12844
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Thu Jun 25 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/