CVE-2026-12087: CWE-125 Out-of-bounds Read in PEVANS Socket
CVE-2026-12087 is a critical out-of-bounds heap read vulnerability in the PEVANS Socket module for Perl. The flaw exists in the pack_ip_mreq_source() function, which improperly validates the length of its source argument, leading to reading beyond the buffer when the source is shorter than 4 bytes. This vulnerability can cause leakage of adjacent heap memory. No patch or official remediation has been confirmed yet.
AI Analysis
Technical Summary
The vulnerability in PEVANS Socket versions prior to 2.041 arises from incorrect length checking in the pack_ip_mreq_source() function within Socket.xs. The function checks the length of the source argument using the byte length from a preceding multiaddr argument, which is always 4 bytes. Consequently, a source argument shorter than 4 bytes is not properly rejected, causing the function to copy up to 3 bytes beyond the source buffer into the imr_sourceaddr field. This results in an out-of-bounds heap read, potentially exposing adjacent heap memory contents.
Potential Impact
This vulnerability allows an attacker to cause an out-of-bounds read on the heap, potentially leaking sensitive memory contents. The CVSS score of 9.1 indicates a critical severity with high confidentiality impact and high availability impact, but no integrity impact. There are no known exploits in the wild as of the published date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround has been published. Users should monitor vendor communications for updates and avoid passing source arguments shorter than 4 bytes to the affected function as a temporary precaution if feasible.
CVE-2026-12087: CWE-125 Out-of-bounds Read in PEVANS Socket
Description
CVE-2026-12087 is a critical out-of-bounds heap read vulnerability in the PEVANS Socket module for Perl. The flaw exists in the pack_ip_mreq_source() function, which improperly validates the length of its source argument, leading to reading beyond the buffer when the source is shorter than 4 bytes. This vulnerability can cause leakage of adjacent heap memory. No patch or official remediation has been confirmed yet.
CVSS v3.1
Score 9.1critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in PEVANS Socket versions prior to 2.041 arises from incorrect length checking in the pack_ip_mreq_source() function within Socket.xs. The function checks the length of the source argument using the byte length from a preceding multiaddr argument, which is always 4 bytes. Consequently, a source argument shorter than 4 bytes is not properly rejected, causing the function to copy up to 3 bytes beyond the source buffer into the imr_sourceaddr field. This results in an out-of-bounds heap read, potentially exposing adjacent heap memory contents.
Potential Impact
This vulnerability allows an attacker to cause an out-of-bounds read on the heap, potentially leaking sensitive memory contents. The CVSS score of 9.1 indicates a critical severity with high confidentiality impact and high availability impact, but no integrity impact. There are no known exploits in the wild as of the published date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround has been published. Users should monitor vendor communications for updates and avoid passing source arguments shorter than 4 bytes to the affected function as a temporary precaution if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-12T13:29:50.478Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a30726b0b89be6888a31ad3
Added to database: 06/15/2026, 21:45:15 UTC
Last enriched: 06/23/2026, 15:18:26 UTC
Last updated: 07/15/2026, 05:17:10 UTC
Views: 169
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.