CVE-2026-65068: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::SpatialHash::Shared
Data::SpatialHash::Shared versions before 0.02 for Perl create a memory-mapped backing file with overly permissive permissions (world-readable) and open it without safeguards against symlink attacks or race conditions. This allows local users to read inter-process communication payloads and potentially manipulate the file open operation by pre-creating files or symlinks at the target path.
AI Analysis
Technical Summary
The vulnerability in Data::SpatialHash::Shared (versions <0.02) arises from creating a shared memory segment file with mode 0666 (resulting in 0644 after umask) and opening it without O_EXCL or O_NOFOLLOW flags. This leads to a world-readable backing file in shared directories like /tmp or /dev/shm, exposing IPC data to local users. The absence of O_NOFOLLOW allows symlink following, enabling local attackers to redirect the open call to attacker-controlled files. The lack of O_EXCL permits silent use of pre-existing files, facilitating pre-creation race attacks.
Potential Impact
Local attackers can read sensitive IPC payloads stored in the world-readable shared memory segment. They may also exploit race conditions or symlink redirection to manipulate the file open operation, potentially leading to unauthorized information disclosure or interference with IPC mechanisms. The CVSS score of 3.8 indicates a low severity impact limited to local privilege and confidentiality loss without integrity or availability impact.
Mitigation Recommendations
No official patch or remediation level is currently documented. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider restricting permissions on the shared directory, avoid running vulnerable versions in multi-user environments, or apply manual mitigations such as ensuring the backing file is created with stricter permissions and using secure open flags if possible.
CVE-2026-65068: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::SpatialHash::Shared
Description
Data::SpatialHash::Shared versions before 0.02 for Perl create a memory-mapped backing file with overly permissive permissions (world-readable) and open it without safeguards against symlink attacks or race conditions. This allows local users to read inter-process communication payloads and potentially manipulate the file open operation by pre-creating files or symlinks at the target path.
CVSS v3.1
Score 3.8low
Affected software
pkg:github/Data-SpatialHash-SharedRun 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
Technical Analysis
The vulnerability in Data::SpatialHash::Shared (versions <0.02) arises from creating a shared memory segment file with mode 0666 (resulting in 0644 after umask) and opening it without O_EXCL or O_NOFOLLOW flags. This leads to a world-readable backing file in shared directories like /tmp or /dev/shm, exposing IPC data to local users. The absence of O_NOFOLLOW allows symlink following, enabling local attackers to redirect the open call to attacker-controlled files. The lack of O_EXCL permits silent use of pre-existing files, facilitating pre-creation race attacks.
Potential Impact
Local attackers can read sensitive IPC payloads stored in the world-readable shared memory segment. They may also exploit race conditions or symlink redirection to manipulate the file open operation, potentially leading to unauthorized information disclosure or interference with IPC mechanisms. The CVSS score of 3.8 indicates a low severity impact limited to local privilege and confidentiality loss without integrity or availability impact.
Mitigation Recommendations
No official patch or remediation level is currently documented. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider restricting permissions on the shared directory, avoid running vulnerable versions in multi-user environments, or apply manual mitigations such as ensuring the backing file is created with stricter permissions and using secure open flags if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-07-21T15:29:37.116Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fcbb92a4a8d5989ac73d1
Added to database: 07/21/2026, 19:42:49 UTC
Last enriched: 07/30/2026, 05:30:12 UTC
Last updated: 09/04/2026, 10:52:10 UTC
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.