CVE-2026-59146
Last modified
CVE-2026-59146 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| EGOR | Data::SpatialHash::Shared | < 0.02 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-59146?
How severe is CVE-2026-59146?
How do I fix CVE-2026-59146?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59140Data::SortedSet::Shared versions before 0.03 for Perl allow …9.1
- CVE-2026-59141Data::RadixTree::Shared versions before 0.02 for Perl allow …9.1
- CVE-2026-59142Data::HashMap::Shared versions before 0.14 for Perl allow an…9.1
- CVE-2026-59143Data::RoaringBitmap::Shared versions before 0.02 for Perl al…6.3
- CVE-2026-59144Data::RingBuffer::Shared versions before 0.04 for Perl allow…9.8
- CVE-2026-59145Data::Intern::Shared versions before 0.02 for Perl allow an …9.1
- CVE-2026-59147Data::DisjointSet::Shared versions before 0.02 for Perl allo…9.8
- CVE-2026-59148Mockoon provides way to design and run mock APIs. Prior to 9…8.8
- CVE-2026-59149Mockoon provides way to design and run mock APIs. Prior to 9…6.5
- CVE-2026-5915Insufficient validation of untrusted input in WebML in Googl…8.1
- CVE-2026-59151Prowler is a cloud security platform. Prior to 5.30.3, Prowl…9.6
- CVE-2026-59152LangSmith Client SDKs provide SDK's for interacting with the…5
Are you affected by CVE-2026-59146?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
