PatchSiren cyber security CVE debrief
CVE-2026-59142 EGOR CVE debrief
CVE-2026-59142 is an out-of-bounds read vulnerability in Data::HashMap::Shared versions before 0.14 for Perl. The vulnerability allows a local peer to read adjacent memory or crash the process by poisoning a record's offset and length. 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. The shm_str_copy function performs an unbounded memcpy operation using an unvalidated arena offset and length.
- Vendor
- EGOR
- Product
- Data::HashMap::Shared
- CVSS
- CRITICAL 9.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-21
- Original CVE updated
- 2026-07-22
- Advisory published
- 2026-07-21
- Advisory updated
- 2026-07-22
Who should care
Users of Data::HashMap::Shared versions before 0.14 for Perl should be concerned about this vulnerability, as it can be exploited by a local peer to read sensitive information or crash the process. This vulnerability is particularly relevant for systems where untrusted users have local access.
Technical summary
The vulnerability exists in the Data::HashMap::Shared module for Perl, specifically in versions before 0.14. The issue arises from the lack of validation of array contents in the shm_validate_header function, which checks header scalars and region layout against the file size. The shm_str_copy function then performs a memcpy operation using an unvalidated arena offset and length, read raw from the mmap'd segment. This can lead to an out-of-bounds read, allowing an attacker to read adjacent memory or crash the process. The get path is not affected as it bounds off and len separately.
Defensive priority
High
Recommended defensive actions
- Update Data::HashMap::Shared to version 0.14 or later
- Restrict local access to the system to trusted users only
- Monitor for suspicious activity or crashes
- Implement additional security controls to prevent exploitation
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record was published on 2026-07-21T19:17:11.800Z and was last modified on 2026-07-22T20:17:02.507Z. The NVD entry is currently Deferred. The vulnerability has a CVSS score of 9.1 and a severity of CRITICAL.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-59142 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-59142
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-59142 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-59142
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/changes
9b29abf9-4ab0-4765-b253-1875cd9b441e
-
Source reference
Unverified legacy reference
URL: https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/diff/EGOR/Data-HashMap-Shared-0.13
9b29abf9-4ab0-4765-b253-1875cd9b441e
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.