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

Published Jun 25, 2026
·
Updated

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 Software

1 affected component
Perl List::SomeUtils::XS<0.59

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade List::SomeUtils::XS to a version that resolves this vulnerability.

    Fixed in 0.59

Event History

Jun 25, 2026
CVE Published
via MITRE·03:26 PM
Data Sourced
via MITRE·03:26 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12844?

CVE-2026-12844 has a high severity rating of 7.5 according to the CVSS 3.1 scoring system.

2

What vulnerability does CVE-2026-12844 describe?

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

3

How do I fix CVE-2026-12844?

To fix CVE-2026-12844, upgrade List::SomeUtils::XS to version 0.59 or later.

4

What impact does CVE-2026-12844 have on my system?

CVE-2026-12844 can lead to potential denial of service due to the heap buffer overflow vulnerability.

5

Is CVE-2026-12844 exploitable?

Yes, CVE-2026-12844 is considered exploitable due to the nature of heap buffer overflows.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203