CVE-2026-64613
published medium CVSS 3.1 · 6.2Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| EGOR | — | Data-Buffer-SharedData::Buffer::Shared · 0 to < 0.05 · Other versions: unaffected | Affected | Not stated | CPANSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| EGOR | Data::Buffer::Shared | 0 to < 0.05 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-732 CWE-732 Incorrect Permission Assignment for Critical Resource
- CWE-59 CWE-59 Improper Link Resolution Before File Access
References
2Provider assertions
2CPANSec · cna
Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing file and open it without O_NOFOLLOW
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b30208ee83649da07ead6187e7a2a46563ab0d49d8ffaf6b6f94d7d0f2f53045
- Ingested
- 23 Sep 2026, 09:26:10 UTC
- Source record
- Official CVE record