Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-59142— 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

Quick assessment

Affected
EGOR Data::HashMap::Shared
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

EGOR Data::HashMap::Shared是EGOR个人开发者开源的一个 Perl 模块,用于多进程共享内存哈希映射,支持 LRU 淘汰和逐键 TTL。 EGOR Data::HashMap::Shared 0.14之前版本存在缓冲区错误漏洞,该漏洞源于未验证的偏移量和长度导致越界读取,通过shm_str_copy函数读取相邻内存或导致进程崩溃。

AI Predicted 5.5 Difficulty: Easy EPSS 0.54% · P45

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 1

VendorProduct Version RangeStatus
EGOR Data::HashMap::Shared < 0.14 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-59142

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
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
Source: CVE Program / CVE List V5
Vulnerability Description
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. 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'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. A local peer that can write the backing file can leave the header valid while poisoning a record'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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
Source: CVE Program / CVE List V5
Vulnerability Title
EGOR Data::HashMap::Shared 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
EGOR Data::HashMap::Shared是EGOR个人开发者开源的一个 Perl 模块,用于多进程共享内存哈希映射,支持 LRU 淘汰和逐键 TTL。 EGOR Data::HashMap::Shared 0.14之前版本存在缓冲区错误漏洞,该漏洞源于未验证的偏移量和长度导致越界读取,通过shm_str_copy函数读取相邻内存或导致进程崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
EGOR Data::HashMap::Shared 0 ~ 0.14 -

II. Public POCs for CVE-2026-59142

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-59142

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-59142 (1)

Other References for CVE-2026-59142 (1)

Same Patch Batch · EGOR · 2026-07-21 · 23 CVEs total

CVE-2026-59143 Data::RoaringBitmap::Shared versions before 0.02 for Perl allow an out-of-bounds read via
CVE-2026-65068 Data::SpatialHash::Shared versions before 0.02 for Perl create a world-readable mmap backi
CVE-2026-65062 Data::SortedSet::Shared versions before 0.03 for Perl create a world-readable mmap backing
CVE-2026-65065 Data::RoaringBitmap::Shared versions before 0.02 for Perl create a world-readable mmap bac
CVE-2026-65069 Data::DisjointSet::Shared versions before 0.02 for Perl create a world-readable mmap backi
CVE-2026-65066 Data::RingBuffer::Shared versions before 0.04 for Perl create a world-readable mmap backin
CVE-2026-65063 Data::RadixTree::Shared versions before 0.02 for Perl create a world-readable mmap backing
CVE-2026-65067 Data::Intern::Shared versions before 0.02 for Perl create a world-readable mmap backing fi
CVE-2026-65064 Data::HashMap::Shared versions before 0.14 for Perl create a world-readable mmap backing f
CVE-2026-65061 Data::ReqRep::Shared versions before 0.05 for Perl create a world-readable mmap backing fi
CVE-2026-59147 Data::DisjointSet::Shared versions before 0.02 for Perl allow out-of-bounds reads and writ
CVE-2026-59140 Data::SortedSet::Shared versions before 0.03 for Perl allow an out-of-bounds read via unva
CVE-2026-59145 Data::Intern::Shared versions before 0.02 for Perl allow an out-of-bounds read via unvalid
CVE-2026-59146 Data::SpatialHash::Shared versions before 0.02 for Perl allow out-of-bounds reads and writ
CVE-2026-59144 Data::RingBuffer::Shared versions before 0.04 for Perl allow a stack buffer overflow via a
CVE-2026-64613 Data::Buffer::Shared versions before 0.05 for Perl create a world-readable mmap backing fi
CVE-2026-64617 Data::PubSub::Shared versions before 0.07 for Perl create a world-readable mmap backing fi
CVE-2026-64615 Data::Graph::Shared versions before 0.04 for Perl create a world-readable mmap backing fil
CVE-2026-64614 Data::Deque::Shared versions before 0.06 for Perl create a world-readable mmap backing fil
CVE-2026-64616 Data::NDArray::Shared versions before 0.02 for Perl create a world-readable mmap backing f

Showing top 20 of 23 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities