CVE-2026-59143: CWE-125 Out-of-bounds Read in EGOR Data::RoaringBitmap::Shared
Data::RoaringBitmap::Shared versions before 0.02 for Perl contain an out-of-bounds read vulnerability in the rb_contains_locked function. This occurs because the function uses unvalidated container offsets and cardinality values derived from a file, leading to potential memory reads beyond intended bounds. A local attacker able to modify the backing file can exploit this to cause a crash or read adjacent memory.
AI Analysis
Technical Summary
The vulnerability in Data::RoaringBitmap::Shared (pre-0.02) arises from rb_contains_locked using unvalidated offsets and cardinality values from a file to form pointers and iterate over memory. Although the header is validated at attach time, the bucket contents are not, allowing a maliciously crafted backing file to cause out-of-bounds memory reads. This can lead to process crashes or disclosure of adjacent memory contents. Exploitation requires local write access to the backing file. The CVSS 3.1 base score is 6.3, reflecting a medium severity with network attack vector, low attack complexity, and low privileges required.
Potential Impact
An attacker with local write access to the backing file can craft data that causes rb_contains_locked to read memory out-of-bounds. This may result in process crashes (denial of service) or disclosure of adjacent memory contents (information leak). The vulnerability affects confidentiality, integrity, and availability to a limited extent.
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 to trusted users only to prevent exploitation.
CVE-2026-59143: CWE-125 Out-of-bounds Read in EGOR Data::RoaringBitmap::Shared
Description
Data::RoaringBitmap::Shared versions before 0.02 for Perl contain an out-of-bounds read vulnerability in the rb_contains_locked function. This occurs because the function uses unvalidated container offsets and cardinality values derived from a file, leading to potential memory reads beyond intended bounds. A local attacker able to modify the backing file can exploit this to cause a crash or read adjacent memory.
CVSS v3.1
Score 6.3medium
Affected software
pkg:github/Data-RoaringBitmap-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::RoaringBitmap::Shared (pre-0.02) arises from rb_contains_locked using unvalidated offsets and cardinality values from a file to form pointers and iterate over memory. Although the header is validated at attach time, the bucket contents are not, allowing a maliciously crafted backing file to cause out-of-bounds memory reads. This can lead to process crashes or disclosure of adjacent memory contents. Exploitation requires local write access to the backing file. The CVSS 3.1 base score is 6.3, reflecting a medium severity with network attack vector, low attack complexity, and low privileges required.
Potential Impact
An attacker with local write access to the backing file can craft data that causes rb_contains_locked to read memory out-of-bounds. This may result in process crashes (denial of service) or disclosure of adjacent memory contents (information leak). The vulnerability affects confidentiality, integrity, and availability to a limited extent.
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 to trusted users only to prevent exploitation.
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: 6a5fcbb52a4a8d5989ac6cc8
Added to database: 07/21/2026, 19:42:45 UTC
Last enriched: 07/30/2026, 05:30:20 UTC
Last updated: 09/02/2026, 22:52:13 UTC
Views: 47
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.