Out-of-bounds read in EGOR Data::SpatialHash::Shared
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
Data::SpatialHash::Shared versions before 0.02 for Perl allow out-of-bounds reads and writes via unvalidated bucket, link and free-list indices in sph_walk_cell and sph_alloc_slot. The attach-time validator sph_validate_header checks the header scalars and region layout against the file size, but does not validate the array contents it then trusts. sph_walk_cell reads entries[buckets[b]] and follows each entry's next link raw, and sph_alloc_slot writes through a file-stored free_head index, none bounded against the entry count (max_entries). A local peer that can write the backing file can leave the header valid while poisoning the bucket chain and free list, so a query reads through an out-of-bounds bucket and next index and an insert writes through an out-of-bounds free-list head, corrupting memory or crashing the process.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
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::SpatialHash::Shared (EGOR) Fixed in 0.02
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
EGOR Data::SpatialHash::Shared 0.02
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-46474 Link following in EGOR Data::SpatialHash::SharedPriority LOW 17
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59146
- 2026-10-03 Alias added: GHSA-p5xm-h38r-4xmg
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-42309 Out-of-bounds read in EGOR Data::HashMap::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
Sources
- CVE-2026-59146 · CVE Program
- CVE-2026-59146 · NVD
- FIRST EPSS
- GHSA-p5xm-h38r-4xmg · 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