Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local write access to backing file
-
DeliveryPoison record offset and length, keep header valid
-
ExploitVictim iterates or drains the map
-
Executionshm_str_copy memcpy reads out of bounds
-
ImpactLeak adjacent memory or crash process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a local peer with write access to the mmap'd shared-memory backing file used by Data::HashMap::Shared, plus a victim process that then traverses the map via one of the affected accessors (each, keys, values, pop, shift, take, swap, drain, or cursor). Exploitation is LIMITED by: (1) the attacker must be able to write the backing file - no purely remote or network-only path exists despite the AV:N CVSS scoring; (2) the vulnerable code must be reached through an iterating/draining accessor - the get path is bounds-checked and immune; (3) affected versions are only those before 0.14. The attack keeps shm_validate_header satisfied because that validator checks only header scalars and region layout, not the array record contents. |
| Impact | The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, score 9.1) conflicts materially with the description: exploitation requires a local peer with write access to the shared-memory backing file, which is a local, privileged precondition rather than remote unauthenticated network access - treat the AV:N/PR:N scoring as overstated and the realistic vector as local with write privilege to the segment. Corroborating this, EPSS is low (0.16%, 5th percentile), the CVE is not in CISA KEV, and no public POC is referenced, so this is not a mass-exploitation issue. The genuine impact is high once the local precondition is met - out-of-bounds reads leak adjacent memory (C:H) and can crash the process (A:H) - but exploitability is gated by the requirement to write the backing file, making this a targeted local threat rather than a broad remote one. Verify the attack vector with the vendor: CVSS indicates network vector while the description clearly implies local file-write access. |
| Exploit ScenarioDerived | On a host where a shared-memory map is used across processes of differing trust, a local user or compromised low-privilege process with write access to the backing file edits a record so its stored offset and length point outside the arena while leaving the header valid. When a privileged consumer next iterates or drains the map, shm_str_copy memcpy's the out-of-bounds region, leaking adjacent process memory (potentially secrets or pointers) or crashing the consumer. No public POC is referenced at time of analysis, and the local write precondition (CVSS AC:L) keeps complexity low once access is obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Out-of-bounds read in the Perl module Data::HashMap::Shared before 0.14 lets a local peer that can write the shared-memory backing file corrupt per-record offset and length values, causing the map to copy attacker-controlled regions out of the arena. The flaw affects the each, keys, values, pop, shift, take, swap, drain and cursor code paths and can leak adjacent process memory or crash the process. There is no public exploit identified at time of analysis and EPSS exploitation probability is low (0.16%, 5th percentile).
RemediationAI
Vendor-released patch: 0.14 - upgrade Data::HashMap::Shared to version 0.14 or later, which adds bounds validation on the record offset and length in the affected copy path (see the 0.13-to-0.14 diff of shm_generic.h at https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/diff/EGOR/Data-HashMap-Shared-0.13#shm_generic.h and the changelog at https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/changes). Where immediate upgrade is not possible, restrict filesystem write permissions on the shared-memory backing file so only the trusted owning process can modify it (remove group/other write and place the file in a directory not writable by untrusted local users), which removes the poisoning precondition at the cost of preventing legitimate multi-writer sharing across differently-privileged accounts; additionally, prefer the get accessor over the each/keys/values/pop/shift/take/swap/drain/cursor paths on untrusted maps, since get independently bounds off and len and is not affected, though this limits functionality to single-key lookups.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Data::HashMap::Shared is a Perl module that implements a hash map backed by an mmap'd shared-memory segment (the arena), enabling multiple processes to share a map through a common backing file. The root cause is CWE-125 (out-of-bounds read): the attach-time validator shm_validate_header verifies header scalars and region layout against the file size but never validates the array record contents it subsequently trusts. The copy helper shm_str_copy performs memcpy(dst, arena + off, len) with the offset (off) and length (len) read raw and unbounded from the mmap'd segment, so any path that dereferences a record via that helper (each, keys, values, pop, shift, take, swap, drain, cursor) reads from a file-controlled position. The separate get path independently bounds off and len and is therefore not affected.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Exploitation requires local write access to the shared-memory backing file, so AV:L and PR:L; the out-of-bounds read discloses adjacent memory (C:H) and can crash the process (A:H), with no integrity impact.
Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).
CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Lifecycle Timeline
4DescriptionCVE.org
Data::HashMap::Shared versions before 0.14 for Perl allow an out-of-bounds read via an unvalidated arena offset and length in shm_str_copy.
The attach-time validator shm_validate_header checks the header scalars and region layout against the file size, but does not validate the array contents it then trusts. shm_str_copy does memcpy(dst, arena + off, len) with off and len read raw from the mmap'd segment and unbounded, on the each, keys, values, pop, shift, take, swap, drain and cursor paths. The get path bounds off and len separately and is not affected.
A local peer that can write the backing file can leave the header valid while poisoning a record's offset and length, so iterating or draining the map copies a file-controlled offset and length out of the arena, reading adjacent memory or crashing the process.
Executive ViewAI
The Perl library Data::HashMap::Shared has a critical flaw in versions before 0.14 that could expose confidential data or crash services when exploited by users with local system access. While the risk of actual exploitation is low (0.2%), the severity of potential impact on data confidentiality and service availability requires urgent remediation. A vendor patch is immediately available.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-46355
GHSA-4m33-8fcc-g5rp
NVD
CVE.org
EPSS
Exploit-DB