{"id":"CVE-2026-64613","published":"2026-07-21T19:05:49Z","modified":"2026-07-23T12:25:36Z","title":"Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without…","vendor":"EGOR","product":"Data::Buffer::Shared","tier":"tail","description":{"text":"Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW.\n\nThe 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.\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 symlink at the path redirects the open to another file.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00176,"percentile":0.07302,"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-Buffer-Shared-0.05/diff/EGOR/Data-Buffer-Shared-0.04#buf_generic.h","tags":[]},{"url":"https://metacpan.org/release/EGOR/Data-Buffer-Shared-0.05/changes","tags":["release-notes"]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":1.46},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"egor","affectedVersions":[{"vendor":"EGOR","product":"Data::Buffer::Shared","versions":["< 0.05"]}],"solutions":{"items":["Upgrade to Data::Buffer::Shared 0.05 or later, which creates the backing file mode 0600 (owner-only) with O_NOFOLLOW."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["For deployments that cannot upgrade to 0.05, 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:24:05.650789Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-46369","exploited":false,"provenance":"source"}}