Out-of-bounds read in EGOR Data::HashMap::Shared
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Data::HashMap::Shared (EGOR) Fixed in 0.14
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
EGOR Data::HashMap::Shared 0.14
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-46470 Link following in EGOR Data::HashMap::SharedPriority LOW 17
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59142
- 2026-10-03 Alias added: GHSA-4m33-8fcc-g5rp
References
More EGOR vulnerabilities
- TI-2026-42314 Out-of-bounds read in EGOR Data::DisjointSet::Shared CVSS 3.1CRITICAL 9.8
- TI-2026-42311 Stack-based buffer overflow in EGOR Data::RingBuffer::Shared CVSS 3.1CRITICAL 9.8
- TI-2026-42312 Out-of-bounds read in EGOR Data::Intern::Shared CVSS 3.1CRITICAL 9.1
- TI-2026-42308 Out-of-bounds read in EGOR Data::RadixTree::Shared CVSS 3.1CRITICAL 9.1
- TI-2026-42307 Out-of-bounds read in EGOR Data::SortedSet::Shared CVSS 3.1CRITICAL 9.1
- TI-2026-42306 Out-of-bounds read in EGOR Data::ReqRep::Shared CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-59142 · CVE Program
- CVE-2026-59142 · NVD
- FIRST EPSS
- GHSA-4m33-8fcc-g5rp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences