CVE-2026-65064 Details
Description
Data::HashMap::Shared versions before 0.14 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in shm_generic.h with open(path, O_RDWR | O_CREAT | O_CLOEXEC, 0666). The mode is 0666, so under the default umask 022 the file is created mode 0644 (world-readable). O_NOFOLLOW is absent, so a symlink planted at the path is followed, and O_EXCL is absent, so the open silently uses a pre-planted file instead of failing. 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 file or symlink at the path lets a local attacker win a pre-creation race or redirect the open.
A vulnerability exists in the Perl module Data::HashMap::Shared, affecting versions prior to 0.14. The issue arises because the module creates a world-readable memory-mapped backing file and opens it without exclusive or symlink-following protections. This vulnerability allows local users to read inter-process communication (IPC) payloads from the shared memory segment, potentially leading to unauthorized data access.
Users can upgrade to Data::HashMap::Shared version 0.14 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 21, 2026CISA-ADP
Assessed Jul 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/changes | CPANSec | Vendor |
| https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/diff/EGOR/Data-HashMap-Shared-0.13#shm_generic.h | CPANSec | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | CPANSec |
| CWE-732 | Incorrect Permission Assignment for Critical Resource | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Data::HashMap::Shared | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::I16 | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::I16S | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::I32 | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::I32S | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::II | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::IS | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::SI | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::SI16 | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::SI32 | < 0.14 |
CPE
Remediation
| |
| Data::HashMap::Shared::SS | < 0.14 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | New CVE Received | CPANSec |
Volerion