CVE-2026-59141: CWE-125 Out-of-bounds Read in EGOR Data::RadixTree::Shared
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.
AI Analysis
Technical Summary
The vulnerability in Data::RadixTree::Shared (CVE-2026-59141) arises from insufficient validation of node records after the header validation in the rdx_validate_header function. Specifically, rdx_find_locked indexes node children and reads label offsets and lengths directly from a memory-mapped segment without bounds checking against node count or arena size. A local attacker who can modify the backing file can craft node records that cause out-of-bounds reads, potentially leading to memory disclosure or application crashes.
Potential Impact
An attacker with local write access to the backing file can cause out-of-bounds reads, which may lead to information disclosure of adjacent memory or cause the application to crash. There is no indication of remote exploitation or privilege escalation from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict write access to the backing file to trusted users only to prevent poisoning of node records.
CVE-2026-59141: CWE-125 Out-of-bounds Read in EGOR Data::RadixTree::Shared
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.
Affected software
pkg:github/Data-RadixTree-SharedRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Data::RadixTree::Shared (CVE-2026-59141) arises from insufficient validation of node records after the header validation in the rdx_validate_header function. Specifically, rdx_find_locked indexes node children and reads label offsets and lengths directly from a memory-mapped segment without bounds checking against node count or arena size. A local attacker who can modify the backing file can craft node records that cause out-of-bounds reads, potentially leading to memory disclosure or application crashes.
Potential Impact
An attacker with local write access to the backing file can cause out-of-bounds reads, which may lead to information disclosure of adjacent memory or cause the application to crash. There is no indication of remote exploitation or privilege escalation from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict write access to the backing file to trusted users only to prevent poisoning of node records.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-07-02T16:24:17.912Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fc4922a4a8d5989a1c9f9
Added to database: 07/21/2026, 19:12:18 UTC
Last enriched: 07/21/2026, 19:26:54 UTC
Last updated: 07/21/2026, 21:10:10 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.