CVE-2026-59147
CriticalCVSS 9.8Exploitation Probability (EPSS)
Low risk7th percentile - higher than 7% of all known CVEs
Summary
Vulnerability in Data::DisjointSet::Shared for Perl before version 0.02 allows out-of-bounds reads and writes via an unvalidated parent index in dsu_find. The dsu_validate_header checks header scalars and region layout against file size but does not validate the array contents. A local attacker with write access to the backing file can poison the parent array, leading to out-of-bounds memory access.
Risk Assessment
An attacker can cause memory corruption or process crash, potentially leading to data integrity violation or denial of service.
Recommendation
Update Data::DisjointSet::Shared to version 0.02 or later.
Original NVD description (English source)
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.

