CVE-2026-64613: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::Buffer::Shared
Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW. The segment is created in buf_generic.h with open(path, O_RDWR|O_CREAT|O_EXCL, 0666). O_EXCL blocks a pre-seeded file on create, but the mode is 0666, so under the default umask 022 the file is created mode 0644 (world-readable), and O_NOFOLLOW is absent, so a symlink planted at the path is followed when the segment is attached. A "Shared" segment naturally lives in a shared directory such as /tmp or /dev/shm, where any local user can read the IPC payloads stored in the world-readable segment, and a pre-planted symlink at the path redirects the open to another file.
AI Analysis
Technical Summary
Data::Buffer::Shared versions prior to 0.05 create a memory-mapped backing file with permissions 0666 modified by the default umask 022, resulting in a file mode of 0644 (world-readable). The file is opened without the O_NOFOLLOW flag, allowing an attacker to plant a symlink at the file path. Because the shared segment resides in a shared directory accessible by local users, this can lead to unauthorized reading of IPC payloads or redirection of file operations to arbitrary files via symlink attacks. The vulnerability is categorized under CWE-732 (Incorrect Permission Assignment for Critical Resource) and CWE-59 (Improper Link Resolution). No official patch or remediation level has been published yet.
Potential Impact
Local users on the system can read sensitive inter-process communication data stored in the world-readable shared memory segment. Additionally, by planting a symlink at the expected file path, an attacker can redirect file operations to arbitrary files, potentially exposing or corrupting data. This compromises confidentiality and integrity of IPC data on affected systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to shared directories such as /tmp or /dev/shm to trusted users only and monitor for suspicious symlink creation. Avoid running vulnerable versions in multi-user environments where untrusted users have local access.
CVE-2026-64613: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::Buffer::Shared
Description
Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW. The segment is created in buf_generic.h with open(path, O_RDWR|O_CREAT|O_EXCL, 0666). O_EXCL blocks a pre-seeded file on create, but the mode is 0666, so under the default umask 022 the file is created mode 0644 (world-readable), and O_NOFOLLOW is absent, so a symlink planted at the path is followed when the segment is attached. A "Shared" segment naturally lives in a shared directory such as /tmp or /dev/shm, where any local user can read the IPC payloads stored in the world-readable segment, and a pre-planted symlink at the path redirects the open to another file.
Affected software
pkg:github/Data-Buffer-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
Data::Buffer::Shared versions prior to 0.05 create a memory-mapped backing file with permissions 0666 modified by the default umask 022, resulting in a file mode of 0644 (world-readable). The file is opened without the O_NOFOLLOW flag, allowing an attacker to plant a symlink at the file path. Because the shared segment resides in a shared directory accessible by local users, this can lead to unauthorized reading of IPC payloads or redirection of file operations to arbitrary files via symlink attacks. The vulnerability is categorized under CWE-732 (Incorrect Permission Assignment for Critical Resource) and CWE-59 (Improper Link Resolution). No official patch or remediation level has been published yet.
Potential Impact
Local users on the system can read sensitive inter-process communication data stored in the world-readable shared memory segment. Additionally, by planting a symlink at the expected file path, an attacker can redirect file operations to arbitrary files, potentially exposing or corrupting data. This compromises confidentiality and integrity of IPC data on affected systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to shared directories such as /tmp or /dev/shm to trusted users only and monitor for suspicious symlink creation. Avoid running vulnerable versions in multi-user environments where untrusted users have local access.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-07-20T11:30:10.287Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fcbb52a4a8d5989ac6cdc
Added to database: 07/21/2026, 19:42:45 UTC
Last enriched: 07/21/2026, 19:53:09 UTC
Last updated: 07/21/2026, 21:09:24 UTC
Views: 4
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.