CVE-2026-65062
published low CVSS 3.1 · 3.8Data::SortedSet::Shared versions before 0.03 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| EGOR | — | Data-SortedSet-SharedData::SortedSet::Shared · 0 to < 0.03 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
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.
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
- 3.8 / 10
- Severity
- low
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| EGOR | Data::SortedSet::Shared | 0 to < 0.03 (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::SortedSet::Shared versions before 0.03 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 277d3f7159f321a57016301231398124ffa282be5874b53865e825e92def9047
- Ingested
- 23 Sep 2026, 09:26:10 UTC
- Source record
- Official CVE record