Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59147: CWE-787 Out-of-bounds Write in EGOR Data::DisjointSet::Shared

0
High
VulnerabilityCVE-2026-59147cvecve-2026-59147cwe-787cwe-125
Published: 07/21/2026 (07/21/2026, 19:05:11 UTC)
Source: CVE Database V5
Vendor/Project: EGOR
Product: Data::DisjointSet::Shared

Description

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.

Affected software

GitHub Actionsmore threats →cve
Data-DisjointSet-Shared
pkg:github/Data-DisjointSet-Shared
Affected versions
<0.02

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/21/2026, 19:53:17 UTC

Technical Analysis

CVE-2026-59147 is an out-of-bounds read and write vulnerability in the Perl module Data::DisjointSet::Shared versions prior to 0.02. The attach-time validator dsu_validate_header verifies header scalars and region layout against file size but does not validate the array contents. The dsu_find function uses a raw file-stored parent index without bounds checking against the node count, causing both reads and writes to occur out of bounds. A local attacker with write access to the backing file can craft data that passes header validation but poisons the parent array, resulting in memory corruption or crashes during find or union operations.

Potential Impact

The vulnerability allows a local attacker who can write to the backing file to cause out-of-bounds memory access, potentially leading to memory corruption or process crashes. This can affect the stability and integrity of applications using the vulnerable Data::DisjointSet::Shared module. There is no indication of remote exploitation or known exploits in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict write access to the backing file to trusted users only to prevent exploitation. Monitor for updates from the vendor or maintainers regarding patches or official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-07-02T16:24:17.913Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5fcbb52a4a8d5989ac6cd8

Added to database: 07/21/2026, 19:42:45 UTC

Last enriched: 07/21/2026, 19:53:17 UTC

Last updated: 07/21/2026, 20:42:31 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses