{"id":15388,"date":"2026-09-04T19:02:38","date_gmt":"2026-09-04T11:02:38","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-59142"},"modified":"2026-09-04T19:02:38","modified_gmt":"2026-09-04T11:02:38","slug":"cve-2026-59142","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-59142","title":{"rendered":"CVE-2026-59142 [CRITICAL] &#8211; Data::HashMap::Shared versions before 0.14 for Perl allow an out-of-bounds read via an unv"},"content":{"rendered":"<p>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.<\/p>\n<p>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&#8217;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.<\/p>\n<p>A local peer that can write the backing file can leave the header valid while poisoning a record&#8217;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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n<p>The attach-time validator shm_validate_header checks the he<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15388","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15388","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=15388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}