CVE-2026-59141 Details
Description
Data::RadixTree::Shared versions before 0.02 for Perl allow an out-of-bounds read via unvalidated node and arena indices in rdx_find_locked. The attach-time validator rdx_validate_header checks the header scalars and region layout against the file size, but does not validate the node records it then trusts. rdx_find_locked indexes nodes[cur].children[k] and reads each node's label_off and label_len raw from the mmap'd segment, none bounded against the node count or the arena size. A local peer that can write the backing file can leave the header valid while poisoning the node records, so a lookup dereferences an out-of-bounds node or arena index, reading adjacent memory or crashing the process.
A vulnerability in Data::RadixTree::Shared for Perl, affecting versions prior to 0.02, allows for an out-of-bounds read. This issue arises in the function rdx_find_locked, where unvalidated node and arena indices can be exploited. The attach-time validator rdx_validate_header checks the header scalars and region layout against the file size but fails to validate the node records it subsequently trusts. As a result, rdx_find_locked can index nodes and read each node's label offset and length directly from the memory-mapped segment without proper bounds checking. A local peer with write access to the backing file can manipulate the node records, creating a scenario where a lookup operation dereferences an out-of-bounds index, potentially reading adjacent memory, crashing the process, or, according to a reference, leading to arbitrary code execution.
Users are advised to update to Data::RadixTree::Shared version 0.02 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 21, 2026CISA-ADP
Assessed Jul 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/EGOR/Data-RadixTree-Shared-0.02/changes | CPANSec | Vendor |
| https://metacpan.org/release/EGOR/Data-RadixTree-Shared-0.02/diff/EGOR/Data-RadixTree-Shared-0.01#radix.h | CPANSec | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Data::RadixTree::Shared | < 0.02 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 22, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | New CVE Received | CPANSec |
Volerion