Bug 2512057 - CVE-2026-12844 perl-List-SomeUtils-XS: List::SomeUtils::XS: Heap buffer overflow in pairwise() function leading to arbitrary code execution [fedora-all]
Summary: CVE-2026-12844 perl-List-SomeUtils-XS: List::SomeUtils::XS: Heap buffer overf...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-List-SomeUtils-XS
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["3d6eb120-fbc6-4344-b275-d...
Depends On:
Blocks: CVE-2026-12844
TreeView+ depends on / blocked
 
Reported: 2026-08-06 14:00 UTC by Vladimir Vasilev
Modified: 2026-08-19 01:11 UTC (History)
2 users (show)

Fixed In Version: perl-List-SomeUtils-XS-0.59-1.fc45, perl-List-SomeUtils-XS-0.59-1.fc44 perl-List-SomeUtils-XS-0.59-1.fc43
Clone Of:
Environment:
Last Closed: 2026-08-19 01:11:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-08-06 14:00:54 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-08-10 11:13:33 UTC
FEDORA-2026-6217093b91 (perl-List-SomeUtils-XS-0.59-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6217093b91

Comment 2 Fedora Update System 2026-08-11 03:56:58 UTC
FEDORA-2026-6217093b91 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6217093b91`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6217093b91

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Aoife Moloney 2026-08-17 15:48:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 4 Fedora Update System 2026-08-19 01:11:31 UTC
FEDORA-2026-6217093b91 (perl-List-SomeUtils-XS-0.59-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.