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

High 7.5 Published Updated

A heap buffer overflow in the pairwise function allows attackers to corrupt memory, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-12844?

CVE-2026-12844 is a high-severity memory corruption vulnerability in DROLSKY List::SomeUtils::XS, published on 25 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2026-12844?

Linux distribution packages (15)
perl-List-SomeUtils-XS SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise Module for Basesystem 15 SP7All versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise Server 15 SP6-LTSSAll versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise Server 16.0All versions0.58-160000.3.2
perl-List-SomeUtils-XS SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise Server for SAP Applications 15 SP6All versions0.56-150000.3.3.1
perl-List-SomeUtils-XS SUSE:Linux Enterprise Server for SAP applications 16.0All versions0.58-160000.3.2
perl-List-SomeUtils-XS openSUSE:Leap 16.0All versions0.58-160000.3.2
perl-List-SomeUtils-XS openSUSE:TumbleweedAll versions0.590.0-1.1

How do I fix CVE-2026-12844?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-12844 being exploited?

There is no known exploitation of CVE-2026-12844 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-12844, GHSA-h2pv-qmv8-hvcv, MGASA-2026-0244, SUSE-SU-2026:22559-1, SUSE-SU-2026:2845-1, UBUNTU-CVE-2026-12844 and 2 more.

Is CVE-2026-12844 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free