Home / EGOR / Data::SortedSet::Shared / CVE-2026-59140
CVE-2026-59140: is it exploited, and which versions of EGOR Data::SortedSet::Shared are affected and fixed?
CVE-2026-59140 is an out-of-bounds read vulnerability in EGOR Data::SortedSet::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, 15:09 UTC). Affected: Data::SortedSet::Shared before 0.03 (CVE record by CPANSec). Fixed in 0.03 (CVE record by CPANSec). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-59140?
Data::SortedSet::Shared versions before 0.03 for Perl allow an out-of-bounds read via unvalidated node indices in the rank and min/max query paths. The attach-time validator ss_validate_header bounds only the root index against the node pool (node_capacity). The order-statistics and min/max queries then follow children[], leftmost and rightmost node indices read raw from the mmap'd segment without bounding them against node_capacity. A full structural check (ss_validate_tree) exists but runs only via an explicit validate method, not on attach. A local peer that can write the backing file can leave the header valid while poisoning the tree links, so the next rank, min or max query dereferences an out-of-bounds node index, reading adjacent memory or crashing the process.
From the CVE record by CPANSec, last updated July 22, 2026, 19:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| EGOR | Data::SortedSet::Shared Data-SortedSet-Shared | before 0.03 | 0.03 |
As the CVE record by CPANSec states it, last updated July 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-59140?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | 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-59140 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, July 22, 2026)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 29.1 (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::SortedSet::Shared 0.03 or later, which bounds every node index against the node pool before dereferencing it.
Is there a workaround? (from the CVE record)
For deployments that cannot upgrade to 0.03, place the backing file in a directory writable only by the owning user, so a local peer cannot tamper with the tree the query paths traverse.
Where are the vendor advisories and references?
- https://metacpan.org/release/EGOR/Data-SortedSet-Shared-0.03/diff/EGOR/Data-SortedSet-Shared-0.02#sortedset.h
- https://metacpan.org/release/EGOR/Data-SortedSet-Shared-0.03/changes release-notes
When was it published, and where is the official record?
- Reserved
- July 2, 2026
- Published
- July 21, 2026, 19:03 UTC
- CVE record updated
- July 22, 2026, 19:18 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, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Data::SortedSet::Shared?
- Jul 21, 2026CVE-2026-65062 EGOR Data::SortedSet::Shared: incorrect permissions on a critical resource
Every CVE in Data::SortedSet::Shared
Questions about CVE-2026-59140
Is CVE-2026-59140 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of EGOR Data::SortedSet::Shared are affected by CVE-2026-59140?
Data::SortedSet::Shared before 0.03, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2026-59140?
0.03, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59140?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-59140?
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.