CVE-2026-59139: Data::ReqRep::Shared versions before 0.05 for Perl allow an out-of-bounds read via an unvalidated arena offset and length in reqrep_recv_locked
Data::ReqRep::Shared versions before 0.05 for Perl allow an out-of-bounds read via an unvalidated arena offset and length in reqreprecvlocked.
The attach-time validator reqrepvalidateheader checks the header scalars and region layout against the file size, but does not validate the array contents it then trusts. reqreprecvlocked does memcpy(copybuf, reqarena + arenaoff, len) with arenaoff and len read raw from the mmap'd segment and never bounded against the arena capacity (reqarenacap).
A local peer that can write the backing file can leave the header valid while poisoning a request slot's offset and length, so receiving the request copies a file-controlled offset and length out of the arena, reading adjacent memory or crashing the process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Data::ReqRep::Sharedto a version that resolves this vulnerability.Fixed in 0.05
Event History
Frequently Asked Questions
What is the severity of CVE-2026-59139?
CVE-2026-59139 has a risk rating of 30, indicating a significant vulnerability.
How do I fix CVE-2026-59139?
To fix CVE-2026-59139, upgrade to Data::ReqRep::Shared version 0.05 or later.
What types of vulnerabilities does CVE-2026-59139 represent?
CVE-2026-59139 represents an out-of-bounds read vulnerability due to unvalidated offsets and lengths.
Which software is affected by CVE-2026-59139?
CVE-2026-59139 affects Data::ReqRep::Shared versions before 0.05 for Perl.
What are the potential consequences of exploiting CVE-2026-59139?
Exploitation of CVE-2026-59139 could lead to unauthorized access to sensitive data or system crashes.