CVE-2026-65062

Data::SortedSet::Shared versions before 0.03 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in sortedset.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. A "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.
Configurations

No configuration.

History

24 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de Data::SortedSet::Shared anteriores a la 0.03 para Perl crean un archivo de respaldo mmap legible por todos y lo abren sin O_EXCL ni O_NOFOLLOW. El segmento se crea en sortedset.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 el modo 0644 (legible por todos). 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. Un 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 legible por todos, 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.

Information

Published : 2026-07-21 20:17

Updated : 2026-10-24 19:10


NVD link : CVE-2026-65062

Mitre link : CVE-2026-65062

CVE.ORG link : CVE-2026-65062


JSON object : View

Products Affected

No product.

CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-732

Incorrect Permission Assignment for Critical Resource