CVE-2026-65066: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::RingBuffer::Shared
Data::RingBuffer::Shared versions before 0.04 for Perl create a memory-mapped backing file with world-readable permissions and open it without using secure flags O_EXCL or O_NOFOLLOW. This allows local users to read inter-process communication payloads stored in the shared segment and enables local attackers to exploit race conditions or symlink attacks to redirect file access. The vulnerability arises from incorrect permission assignment and insecure file opening practices in a shared directory.
AI Analysis
Technical Summary
The vulnerability in Data::RingBuffer::Shared (CVE-2026-65066) involves the creation of a mmap backing file with mode 0666, which under default umask results in a world-readable file (0644). The file is opened without O_EXCL and O_NOFOLLOW flags, allowing an attacker to pre-create or symlink the file path to redirect the open operation. This occurs in versions prior to 0.04. Because the shared segment resides in directories like /tmp or /dev/shm, any local user can read the IPC payloads, leading to information disclosure. The issue is classified under CWE-732 (Incorrect Permission Assignment) and CWE-59 (Improper Link Resolution).
Potential Impact
Local attackers can read sensitive inter-process communication data due to world-readable permissions on the mmap backing file. They can also exploit race conditions or symlink attacks to redirect file access, potentially gaining unauthorized read access to IPC payloads. There is no indication of integrity or availability impact. The CVSS score is 3.8 (low severity), reflecting limited impact and local attack vector with low privileges required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid running vulnerable versions or restrict local user access to the shared directories where the mmap files are created. Applying stricter file permission policies and ensuring secure file open flags (O_EXCL and O_NOFOLLOW) are used can mitigate the risk.
CVE-2026-65066: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::RingBuffer::Shared
Description
Data::RingBuffer::Shared versions before 0.04 for Perl create a memory-mapped backing file with world-readable permissions and open it without using secure flags O_EXCL or O_NOFOLLOW. This allows local users to read inter-process communication payloads stored in the shared segment and enables local attackers to exploit race conditions or symlink attacks to redirect file access. The vulnerability arises from incorrect permission assignment and insecure file opening practices in a shared directory.
CVSS v3.1
Score 3.8low
Affected software
pkg:github/Data-RingBuffer-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::RingBuffer::Shared (CVE-2026-65066) involves the creation of a mmap backing file with mode 0666, which under default umask results in a world-readable file (0644). The file is opened without O_EXCL and O_NOFOLLOW flags, allowing an attacker to pre-create or symlink the file path to redirect the open operation. This occurs in versions prior to 0.04. Because the shared segment resides in directories like /tmp or /dev/shm, any local user can read the IPC payloads, leading to information disclosure. The issue is classified under CWE-732 (Incorrect Permission Assignment) and CWE-59 (Improper Link Resolution).
Potential Impact
Local attackers can read sensitive inter-process communication data due to world-readable permissions on the mmap backing file. They can also exploit race conditions or symlink attacks to redirect file access, potentially gaining unauthorized read access to IPC payloads. There is no indication of integrity or availability impact. The CVSS score is 3.8 (low severity), reflecting limited impact and local attack vector with low privileges required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid running vulnerable versions or restrict local user access to the shared directories where the mmap files are created. Applying stricter file permission policies and ensuring secure file open flags (O_EXCL and O_NOFOLLOW) are used can mitigate the risk.
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: 6a5fcbb72a4a8d5989ac73bc
Added to database: 07/21/2026, 19:42:47 UTC
Last enriched: 07/30/2026, 05:29:45 UTC
Last updated: 08/28/2026, 22:52:12 UTC
Views: 57
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.