Home / EGOR / Data::RoaringBitmap::Shared / CVE-2026-59143
CVE-2026-59143: is it exploited, and which versions of EGOR Data::RoaringBitmap::Shared are affected and fixed?
CVE-2026-59143 is an out-of-bounds read vulnerability in EGOR Data::RoaringBitmap::Shared. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: Data::RoaringBitmap::Shared before 0.02 (CVE record by CPANSec). Fixed in 0.02 (CVE record by CPANSec). Severity: Medium (6.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-59143?
Data::RoaringBitmap::Shared versions before 0.02 for Perl allow an out-of-bounds read via an unvalidated container offset and cardinality in rb_contains_locked. The attach-time validator rb_validate_header checks the header scalars and region layout against the file size, but does not validate the bucket contents it then trusts. rb_contains_locked forms a container pointer as pool + container_off * 8192 from a raw file-stored offset and then searches over a file-stored cardinality, neither bounded against the container pool capacity or the fixed 8192-byte slot size. A local peer that can write the backing file can leave the header valid while poisoning a bucket, so the next membership query dereferences a file-controlled wild pointer and scans a file-controlled count, reading adjacent memory or crashing the process.
From the CVE record by CPANSec, last updated July 23, 2026, 12:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| EGOR | Data::RoaringBitmap::Shared Data-RoaringBitmap-Shared | before 0.02 | 0.02 |
As the CVE record by CPANSec states it, last updated July 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-59143?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-59143 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 23, 2026)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 15.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
How do I fix it? (from the CVE record)
Upgrade to Data::RoaringBitmap::Shared 0.02 or later, which clamps an out-of-range container offset to the empty sentinel and caps the cardinality at the slot capacity.
Is there a workaround? (from the CVE record)
For deployments that cannot upgrade to 0.02, place the backing file in a directory writable only by the owning user, so a local peer cannot tamper with the buckets the query path reads.
Where are the vendor advisories and references?
- https://metacpan.org/release/EGOR/Data-RoaringBitmap-Shared-0.02/diff/EGOR/Data-RoaringBitmap-Shared-0.01#roaring.h
- https://metacpan.org/release/EGOR/Data-RoaringBitmap-Shared-0.02/changes release-notes
When was it published, and where is the official record?
- Reserved
- July 2, 2026
- Published
- July 21, 2026, 19:04 UTC
- CVE record updated
- July 23, 2026, 12:14 UTC by CPANSec
- NVD
- Deferred, last modified October 24, 2026, 19:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Data::RoaringBitmap::Shared?
- Jul 21, 2026CVE-2026-65065 EGOR Data::RoaringBitmap::Shared: incorrect permissions on a critical resource
Every CVE in Data::RoaringBitmap::Shared
Questions about CVE-2026-59143
Is CVE-2026-59143 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of EGOR Data::RoaringBitmap::Shared are affected by CVE-2026-59143?
Data::RoaringBitmap::Shared before 0.02, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2026-59143?
0.02, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59143?
Medium (6.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-59143?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.