{"id":"CVE-2026-65064","published":"2026-07-21T19:08:34Z","modified":"2026-07-23T12:59:03Z","title":"Data::HashMap::Shared versions before 0.14 for Perl create a world-readable mmap backing file and open it without…","vendor":"EGOR","product":"Data::HashMap::Shared","tier":"tail","description":{"text":"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.\n\nThe 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.\n\nA \"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.8,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00142,"percentile":0.03611,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/diff/EGOR/Data-HashMap-Shared-0.13#shm_generic.h","tags":[]},{"url":"https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/changes","tags":["release-notes"]}],"priority":{"score":3.4,"factors":[{"name":"EPSS percentile","points":0.72},{"name":"CVSS severity","points":2.66}]},"vendorSlug":"egor","affectedVersions":[{"vendor":"EGOR","product":"Data::HashMap::Shared","versions":["< 0.14"]}],"solutions":{"items":["Upgrade to Data::HashMap::Shared 0.14 or later, which creates the backing file mode 0600 (owner-only) with O_EXCL and O_NOFOLLOW."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["For deployments that cannot upgrade to 0.14, set a restrictive umask so the backing file is not world-readable and place it in a directory only the owning user can access."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-23T12:54:05.749415Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-46377","exploited":false,"provenance":"source"}}