{"id":"CVE-2026-64616","published":"2026-07-21T19:06:50Z","modified":"2026-07-30T16:53:56Z","title":"Data::NDArray::Shared versions before 0.02 for Perl create a world-readable mmap backing file and open it without…","vendor":"EGOR","product":"Data::NDArray::Shared","tier":"tail","description":{"text":"Data::NDArray::Shared versions before 0.02 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW.\n\nThe segment is created in ndarray.h with open(path, O_RDWR|O_CREAT, 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.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00142,"percentile":0.03612,"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-NDArray-Shared-0.02/diff/EGOR/Data-NDArray-Shared-0.01#ndarray.h","tags":[]},{"url":"https://metacpan.org/release/EGOR/Data-NDArray-Shared-0.02/changes","tags":["release-notes"]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":0.72},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"egor","affectedVersions":[{"vendor":"EGOR","product":"Data::NDArray::Shared","versions":["< 0.02"]}],"solutions":{"items":["Upgrade to Data::NDArray::Shared 0.02 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.02, 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:42:00.673095Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-46372","exploited":false,"provenance":"source"}}