{"id":15404,"date":"2026-09-04T19:02:38","date_gmt":"2026-09-04T11:02:38","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-59146"},"modified":"2026-09-04T19:02:38","modified_gmt":"2026-09-04T11:02:38","slug":"cve-2026-59146","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-59146","title":{"rendered":"CVE-2026-59146 [HIGH] &#8211; Data::SpatialHash::Shared versions before 0.02 for Perl allow out-of-bounds reads and writ"},"content":{"rendered":"<p>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.<\/p>\n<p>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&#8217;s next link raw, and sph_alloc_slot writes through a file-stored free_head index, none bounded against the entry count (max_entries).<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n<p>The attach-time va<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15404","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}