{"id":"CVE-2026-65066","aliases":["CVE-2026-65066"],"related":[],"kind":"vulnerability","state":"published","title":"Data::RingBuffer::Shared versions before 0.04 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW","summary":"Data::RingBuffer::Shared versions before 0.04 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW.\n\nThe segment is created in ring.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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Data::RingBuffer::Shared versions before 0.04 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW.\n\nThe segment is created in ring.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.","source":"cvelist"},{"lang":"es","text":"Las versiones de Data::RingBuffer::Shared anteriores a la 0.04 para Perl crean un archivo de respaldo mmap de lectura mundial y lo abren sin O_EXCL ni O_NOFOLLOW.\n\nEl segmento se crea en ring.h con open(path, O_RDWR|O_CREAT, 0666). El modo es 0666, por lo que bajo la umask predeterminada 022 el archivo se crea con modo 0644 (de lectura mundial). O_NOFOLLOW está ausente, por lo que se sigue un enlace simbólico plantado en la ruta, y O_EXCL está ausente, por lo que la apertura utiliza silenciosamente un archivo pre-plantado en lugar de fallar.\n\nUn segmento ’Shared’ reside naturalmente en un directorio compartido como /tmp o /dev/shm, donde cualquier usuario local puede leer las cargas útiles IPC almacenadas en el segmento de lectura mundial, y un archivo pre-plantado o enlace simbólico en la ruta permite a un atacante local ganar una carrera de pre-creación o redirigir la apertura.","source":"nvd"}],"published":"2026-07-21T19:09:03.992Z","modified":"2026-10-24T19:10:00.127Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8,"rating":"LOW"}],"cwes":["CWE-59","CWE-732"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"0.04","status":"affected"}],"vendor":"EGOR","product":"Data::RingBuffer::Shared","package":"Data-RingBuffer-Shared","repo":"https://github.com/vividsnow/perl5-data-ringbuffer-shared","source":"cvelist"}],"references":[{"url":"https://metacpan.org/release/EGOR/Data-RingBuffer-Shared-0.04/diff/EGOR/Data-RingBuffer-Shared-0.03#ring.h","tags":[],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/EGOR/Data-RingBuffer-Shared-0.04/changes","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-23T13:07:52.222Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65066","url":"https://www.cve.org/CVERecord?id=CVE-2026-65066","licence":"CVE Terms of Use","modified":"2026-07-23T13:08:00.634Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65066","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65066","licence":"Public domain","modified":"2026-10-24T19:10:00.127Z"}],"updatedAt":"2026-11-25T22:59:29.401Z","epss":{"score":0.00142,"percentile":0.01791,"date":"2026-11-30T12:00:22.000Z"}}