CVE Explorer
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.
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. T
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Data-HashMap-Shared","product":"Data::HashMap::Shared","programFiles":["shm_generic.h"],"programRoutines":[{"name":"shm_str_copy"}],"repo":"https://github.com/vividsnow/perl5-data-hashmap-shared","vendor":"EGOR","versions":[{"lessThan":"0.14","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1678594fd528eed704d036af1f7d5cc5cd0b3a0f8b5709100ce83ce35067bc8c · sha256:44605a8f7e65761c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1678594fd528eed704d036af1f7d5cc5cd0b3a0f8b5709100ce83ce35067bc8c · sha256:44605a8f7e65761c… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1678594fd528eed704d036af1f7d5cc5cd0b3a0f8b5709100ce83ce35067bc8c · sha256:44605a8f7e65761c… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["release-notes"],"url":"https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1678594fd528eed704d036af1f7d5cc5cd0b3a0f8b5709100ce83ce35067bc8c · sha256:44605a8f7e65761c… · /containers/cna/references/1
{"url":"https://metacpan.org/release/EGOR/Data-HashMap-Shared-0.14/diff/EGOR/Data-HashMap-Shared-0.13#shm_generic.h"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1678594fd528eed704d036af1f7d5cc5cd0b3a0f8b5709100ce83ce35067bc8c · sha256:44605a8f7e65761c… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.