# 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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.2
- **CVSS:** 6.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-732, CWE-59
- **Published:** 2026-07-21T19:05:49.579Z
- **Modified:** 2026-10-24T19:10:00.127Z

## Who should check

- Anyone running EGOR Data::Buffer::Shared \< 0.05

## 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.

## Affected and fixed versions

- EGOR Data::Buffer::Shared: \< 0.05 (cvelist)

## Mitigation

- Upgrade Data::Buffer::Shared to 0.05 or later.
- Vendor workaround: 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64613. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64613.md
Affected: EGOR Data::Buffer::Shared < 0.05
Fixed in: EGOR Data::Buffer::Shared 0.05

Steps:
1. Search this machine and project for EGOR Data::Buffer::Shared: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64613 being exploited?

There is no confirmed exploitation: CVE-2026-64613 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64613?

Medium: CVSS 6.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64613?

EGOR Data::Buffer::Shared \< 0.05.

### Is there a fix for CVE-2026-64613?

Yes. Fixed in EGOR Data::Buffer::Shared 0.05. Upgrade Data::Buffer::Shared to 0.05 or later. Vendor workaround: 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.

### How do I check if I'm affected by CVE-2026-64613?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://metacpan.org/release/EGOR/Data-Buffer-Shared-0.05/diff/EGOR/Data-Buffer-Shared-0.04#buf_generic.h>
- other: <https://metacpan.org/release/EGOR/Data-Buffer-Shared-0.05/changes>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64613>

HTML: <https://flawdb.com/CVE-2026-64613> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64613>
