{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-59146","published":"2026-07-21T20:17:03.407000Z","last_modified":"2026-10-24T19:10:00.127000Z","status":"Deferred","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":["CWE-125","CWE-787"],"cpes":[],"cpes_truncated":false,"vendors":["egor"],"products":["egor/data-spatialhash-shared"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-59146/","html_en":"/en/cve/CVE-2026-59146/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59146","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59146"},"untrusted":{"vendor_name":"EGOR","product_name":"Data::SpatialHash::Shared","desc_en":"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.\n\nThe 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).\n\nA 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.","affected":[{"untrusted_vendor":"EGOR","untrusted_product":"Data::SpatialHash::Shared","versions":[]}],"references":[{"url":"https://metacpan.org/release/EGOR/Data-SpatialHash-Shared-0.02/changes","tags":[]},{"url":"https://metacpan.org/release/EGOR/Data-SpatialHash-Shared-0.02/diff/EGOR/Data-SpatialHash-Shared-0.01#sphash.h","tags":[]}]}}