liblist-someutils-xs-perl — security advisory
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.
- Products
- liblist-someutils-xs-perl
- Affected versions
- 0.58-3, 0.59-1
- Fixed versions
- 0.59-1
- CVEs
- CVE-2026-12844
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:20 UTC · Revision 2
Source evidence
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.
osv:DEBIAN-CVE-2026-12844
liblist-someutils-xs-perl
Fixed versions: Not specified
liblist-someutils-xs-perl
Fixed versions: Not specified
liblist-someutils-xs-perl
Fixed versions: 0.59-1
Complete source record
{
"id": "2b27eb786a0948f1035017709047279bcea41320127cb79244d26711b8b72d88",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-12844",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-12844",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-12844",
"products": [
{
"name": {
"value": "liblist-someutils-xs-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.58-3",
"evidence": "/affected/0/versions"
},
{
"value": "0.59-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "liblist-someutils-xs-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.58-3",
"evidence": "/affected/1/versions"
},
{
"value": "0.59-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "liblist-someutils-xs-perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.59-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "0.58-3",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-12844",
"aliases": [
"DEBIAN-CVE-2026-12844"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "liblist-someutils-xs-perl",
"purl": "pkg:deb/debian/liblist-someutils-xs-perl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.58-3",
"0.59-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12844.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "liblist-someutils-xs-perl",
"purl": "pkg:deb/debian/liblist-someutils-xs-perl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"0.58-3",
"0.59-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12844.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.59-1"
}
]
}
],
"package": {
"name": "liblist-someutils-xs-perl",
"purl": "pkg:deb/debian/liblist-someutils-xs-perl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.58-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12844.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T11:47:34.315212494Z",
"provider": "osv",
"upstream": [
"CVE-2026-12844"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-12844"
]
},
"related_cves": [
{
"value": "CVE-2026-12844",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450873,
"published_at": "2026-06-25T16:16:33.097+00:00"
}