CVE-2026-8796: CWE-125 Out-of-bounds Read in YVES Sereal::Decoder
CVE-2026-8796 is a heap out-of-bounds read vulnerability in Sereal::Decoder for Perl versions before 5.005. It occurs when processing a crafted COPY tag that causes the decoder to read beyond the input buffer, potentially leaking up to 31 bytes from the heap. The vulnerability arises from improper bounds checking when decoding certain back-references interpreted as SHORT_BINARY tags. This flaw can lead to information disclosure and denial of service. No official patch or remediation guidance has been provided yet.
AI Analysis
Technical Summary
Sereal::Decoder versions prior to 5.005 for Perl contain a heap out-of-bounds read vulnerability (CWE-125) in the srl_read_object() and srl_read_hash() functions. When processing a COPY tag, which is a back-reference, the decoder re-decodes the target byte as a fresh tag. If this target byte matches the SHORT_BINARY pattern, the decoder reads beyond the input buffer boundary because the read is not properly bounded relative to the COPY tag's offset. An attacker can craft a COPY offset that points inside a previously decoded value, causing the decoder to interpret arbitrary heap bytes as a SHORT_BINARY tag and consume up to 31 bytes from the heap as class names or hash keys. This can lead to information disclosure and potentially denial of service.
Potential Impact
The vulnerability allows an attacker to cause the decoder to read beyond the intended input buffer, potentially leaking sensitive heap memory contents. The CVSS score of 8.1 indicates high severity with network attack vector, low attack complexity, no privileges required, user interaction needed, and impacts confidentiality and availability. There is no indication of integrity impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided, users should monitor vendor communications for updates. Until a fix is available, avoid processing untrusted or malformed Sereal-encoded data to reduce risk.
CVE-2026-8796: CWE-125 Out-of-bounds Read in YVES Sereal::Decoder
Description
CVE-2026-8796 is a heap out-of-bounds read vulnerability in Sereal::Decoder for Perl versions before 5.005. It occurs when processing a crafted COPY tag that causes the decoder to read beyond the input buffer, potentially leaking up to 31 bytes from the heap. The vulnerability arises from improper bounds checking when decoding certain back-references interpreted as SHORT_BINARY tags. This flaw can lead to information disclosure and denial of service. No official patch or remediation guidance has been provided yet.
CVSS v3.1
Score 8.1high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Sereal::Decoder versions prior to 5.005 for Perl contain a heap out-of-bounds read vulnerability (CWE-125) in the srl_read_object() and srl_read_hash() functions. When processing a COPY tag, which is a back-reference, the decoder re-decodes the target byte as a fresh tag. If this target byte matches the SHORT_BINARY pattern, the decoder reads beyond the input buffer boundary because the read is not properly bounded relative to the COPY tag's offset. An attacker can craft a COPY offset that points inside a previously decoded value, causing the decoder to interpret arbitrary heap bytes as a SHORT_BINARY tag and consume up to 31 bytes from the heap as class names or hash keys. This can lead to information disclosure and potentially denial of service.
Potential Impact
The vulnerability allows an attacker to cause the decoder to read beyond the intended input buffer, potentially leaking sensitive heap memory contents. The CVSS score of 8.1 indicates high severity with network attack vector, low attack complexity, no privileges required, user interaction needed, and impacts confidentiality and availability. There is no indication of integrity impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided, users should monitor vendor communications for updates. Until a fix is available, avoid processing untrusted or malformed Sereal-encoded data to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-05-18T00:38:16.965Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1c979ce29bf47b5059146a
Added to database: 05/31/2026, 20:18:36 UTC
Last enriched: 06/07/2026, 20:53:08 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 76
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.