Out-of-bounds Read in Egor Data::disjointset::shared
CVE-2026-59147
Data::DisjointSet::Shared versions before 0.02 for Perl allow out-of-bounds reads and writes via an unvalidated parent index in dsu_find. The attach-time validator dsu_validate_header checks the header scalars and region layout against the file size, but does not validate the array contents it then trusts. dsu_find walks and path-compresses parent[x] with x a raw file-stored index never bounded against the node count, so both the read and the compression write-back land out of bounds. A local peer that can write the backing file can leave the header valid while poisoning the parent array, so the next find or union both reads and writes through an out-of-bounds parent index, corrupting memory or crashing the process.
Vulnerability class: Buffer Overflow
EPSS: 0.006 (44.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Egor Data::disjointset::shared — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-59147?
- CVE-2026-59147 is a critical-severity vulnerability in Egor Data::disjointset::shared, classified under Out-of-bounds Read. CVSS score: 9.8/10. Published 2026-07-21.
- How severe is CVE-2026-59147?
- Critical severity. CVSS v3 base score is 9.8 out of 10.