CVEBrief

Home / EGOR / Data::HashMap::Shared / CVE-2026-59142

CVE-2026-59142: is it exploited, and which versions of EGOR Data::HashMap::Shared are affected and fixed?

CVE-2026-59142 is an out-of-bounds read vulnerability in EGOR Data::HashMap::Shared. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: Data::HashMap::Shared before 0.14 (CVE record by CPANSec). Fixed in 0.14 (CVE record by CPANSec). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
Data::HashMap::Shared before 0.14
CVE record by CPANSec
Fixed in
0.14
CVE record by CPANSec
Severity
Critical 9.1
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
0.34% in 30 days
higher than 29% of CVEs; FIRST, December 2, 2026

What is 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. 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.

From the CVE record by CPANSec, last updated July 22, 2026, 19:21 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
EGORData::HashMap::Shared Data-HashMap-Sharedbefore 0.140.14

As the CVE record by CPANSec states it, last updated July 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-59142?

ScoreVersionVectorSource
Critical 9.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HCISA-ADP

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-59142 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, July 22, 2026)
EPSS
0.34% probability of exploitation activity in the next 30 days, percentile 29.1 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

Upgrade to Data::HashMap::Shared 0.14 or later, which bounds the arena offset and length in shm_str_copy before the copy.

Is there a workaround? (from the CVE record)

For deployments that cannot upgrade to 0.14, place the backing file in a directory writable only by the owning user, so a local peer cannot tamper with the records the iteration paths read.

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
July 2, 2026
Published
July 21, 2026, 19:03 UTC
CVE record updated
July 22, 2026, 19:21 UTC by CPANSec
NVD
Deferred, last modified October 24, 2026, 19:10 UTC
Last checked
CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Data::HashMap::Shared?

Every CVE in Data::HashMap::Shared

Questions about CVE-2026-59142

Is CVE-2026-59142 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of EGOR Data::HashMap::Shared are affected by CVE-2026-59142?

Data::HashMap::Shared before 0.14, per the CVE record by CPANSec. The tables above give every range the sources list.

Which version fixes CVE-2026-59142?

0.14, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-59142?

Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2026-59142?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.