๐Ÿ” CVE Alert

CVE-2026-8796

HIGH 8.1

Sereal::Decoder versions before 5.005 for Perl allow heap out-of-bounds read via crafted input

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

Sereal::Decoder versions before 5.005 for Perl allow heap out-of-bounds read via crafted input. In Perl/Decoder/srl_decoder.c, srl_read_object() and srl_read_hash() process a COPY tag, a back-reference whose target byte the decoder re-decodes as a fresh tag. When that target byte matches the SHORT_BINARY pattern (an inline string whose length is encoded in the low bits of the tag), the resulting read is not bounded to precede the COPY tag's own offset and can run past the end of the input buffer. An attacker controlled COPY offset can land inside a previously decoded value rather than on a tag boundary, planting a byte that the decoder reads as a SHORT_BINARY tag and consuming up to 31 following bytes from the heap as a class name (OBJECT path) or hash key (HASH path).

CWE CWE-125
Vendor yves
Product sereal::decoder
Published May 31, 2026
Last Updated Jun 1, 2026
Stay Ahead of the Next One

Get instant alerts for yves sereal::decoder

Be the first to know when new high vulnerabilities affecting yves sereal::decoder are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

YVES / Sereal::Decoder
0 < 5.005

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/Sereal/Sereal/commit/303a2c69cdba80bf37a3ff43461e0aa78198a7a3.patch metacpan.org: https://metacpan.org/release/YVES/Sereal-Decoder-5.005/changes openwall.com: http://www.openwall.com/lists/oss-security/2026/06/01/1