CVE-2026-59145: CWE-125 Out-of-bounds Read in EGOR Data::Intern::Shared
Data::Intern::Shared versions before 0.02 for Perl contain an out-of-bounds read vulnerability in the si_idx_find function. This occurs due to unvalidated indices used for slot, reverse, and arena arrays, allowing reads beyond intended memory bounds. A local attacker who can modify the backing file may exploit this to disclose adjacent process memory. The vulnerability has a critical severity with a CVSS score of 9.1.
AI Analysis
Technical Summary
CVE-2026-59145 is an out-of-bounds read vulnerability in the Data::Intern::Shared Perl module versions prior to 0.02. The vulnerability arises because the attach-time validator si_validate_header does not validate the three arrays (slots, reverse, arena) it trusts. The si_idx_find function performs a triple indirection read from the mmap'd segment using indices from these arrays without bounds checking. A local attacker able to write to the backing file can craft valid headers but poison slot ids, reverse offsets, or arena length prefixes, causing out-of-bounds dereferences. This leads to disclosure of adjacent process memory when string() returns file-controlled data.
Potential Impact
An attacker with local write access to the backing file can exploit this vulnerability to read memory beyond intended boundaries, potentially disclosing sensitive information from adjacent process memory. The vulnerability does not affect integrity but impacts confidentiality and availability, as indicated by the CVSS vector (Confidentiality: High, Integrity: None, Availability: High).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict local write access to the backing file used by Data::Intern::Shared to trusted users only to prevent exploitation.
CVE-2026-59145: CWE-125 Out-of-bounds Read in EGOR Data::Intern::Shared
Description
Data::Intern::Shared versions before 0.02 for Perl contain an out-of-bounds read vulnerability in the si_idx_find function. This occurs due to unvalidated indices used for slot, reverse, and arena arrays, allowing reads beyond intended memory bounds. A local attacker who can modify the backing file may exploit this to disclose adjacent process memory. The vulnerability has a critical severity with a CVSS score of 9.1.
CVSS v3.1
Score 9.1critical
Affected software
pkg:github/Data-Intern-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
CVE-2026-59145 is an out-of-bounds read vulnerability in the Data::Intern::Shared Perl module versions prior to 0.02. The vulnerability arises because the attach-time validator si_validate_header does not validate the three arrays (slots, reverse, arena) it trusts. The si_idx_find function performs a triple indirection read from the mmap'd segment using indices from these arrays without bounds checking. A local attacker able to write to the backing file can craft valid headers but poison slot ids, reverse offsets, or arena length prefixes, causing out-of-bounds dereferences. This leads to disclosure of adjacent process memory when string() returns file-controlled data.
Potential Impact
An attacker with local write access to the backing file can exploit this vulnerability to read memory beyond intended boundaries, potentially disclosing sensitive information from adjacent process memory. The vulnerability does not affect integrity but impacts confidentiality and availability, as indicated by the CVSS vector (Confidentiality: High, Integrity: None, Availability: High).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict local write access to the backing file used by Data::Intern::Shared to trusted users only to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-07-02T16:24:17.913Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fcbb52a4a8d5989ac6cd0
Added to database: 07/21/2026, 19:42:45 UTC
Last enriched: 07/30/2026, 08:38:30 UTC
Last updated: 08/27/2026, 22:52:12 UTC
Views: 50
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.