{"id":"CVE-2026-65069","published":"2026-07-21T19:10:00Z","modified":"2026-07-23T13:22:20Z","title":"Data::DisjointSet::Shared versions before 0.02 for Perl create a world-readable mmap backing file and open it without…","vendor":"EGOR","product":"Data::DisjointSet::Shared","tier":"tail","description":{"text":"Data::DisjointSet::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 dsu.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":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00167,"percentile":0.06056,"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-DisjointSet-Shared-0.02/diff/EGOR/Data-DisjointSet-Shared-0.01#dsu.h","tags":[]},{"url":"https://metacpan.org/release/EGOR/Data-DisjointSet-Shared-0.02/changes","tags":["release-notes"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":1.21},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"egor","affectedVersions":[{"vendor":"EGOR","product":"Data::DisjointSet::Shared","versions":["< 0.02"]}],"solutions":{"items":["Upgrade to Data::DisjointSet::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-23T13:22:15.751463Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-46382","exploited":false,"provenance":"source"}}