0.0
NA
CVE-2026-64613
Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW
Description

Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW. The 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. 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 symlink at the path redirects the open to another file.

INFO

Published Date :

July 21, 2026, 8:17 p.m.

Last Modified :

July 21, 2026, 8:17 p.m.

Remotely Exploit :

No

Source :

9b29abf9-4ab0-4765-b253-1875cd9b441e
Affected Products

The following products are affected by CVE-2026-64613 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Update Data::Buffer::Shared to version 0.05 or later to fix file permissions and symlink following issues.
  • Update Data::Buffer::Shared to version 0.05 or later.
  • Ensure file permissions are restrictive.
  • Disable following symlinks when opening files.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-64613.

URL Resource
https://metacpan.org/release/EGOR/Data-Buffer-Shared-0.05/changes
https://metacpan.org/release/EGOR/Data-Buffer-Shared-0.05/diff/EGOR/Data-Buffer-Shared-0.04#buf_generic.h
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-64613 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-64613 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-64613 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 9b29abf9-4ab0-4765-b253-1875cd9b441e

    Jul. 21, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://github.com/vividsnow/perl5-data-buffer-shared', 'vendor': 'EGOR', 'product': 'Data::Buffer::Shared', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '0.05', 'versionType': 'custom'}], 'packageName': 'Data-Buffer-Shared', 'programFiles': ['buf_generic.h'], 'collectionURL': 'https://cpan.org/modules', 'defaultStatus': 'unaffected'}]
    Added Description Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW. The 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. 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 symlink at the path redirects the open to another file.
    Added CWE CWE-59
    Added CWE CWE-732
    Added Reference https://metacpan.org/release/EGOR/Data-Buffer-Shared-0.05/changes
    Added Reference https://metacpan.org/release/EGOR/Data-Buffer-Shared-0.05/diff/EGOR/Data-Buffer-Shared-0.04#buf_generic.h
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.