CVE-2026-8796
published high CVSS 3.1 · 8.1Sereal::Decoder versions before 5.005 for Perl allow heap out-of-bounds read via crafted input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| YVES | — | Sereal-DecoderSereal::Decoder · 0 to < 5.005 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1830 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Sereal-Decoderaarch64 | Advisory build | 5.6.0-1.1 | OPENSUSE-SU-2026:10924-1 |
| Amazon Linux | AL2023 | perl-Sereal-Decoderaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1830 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Sereal-Decoderppc64le | Advisory build | 5.6.0-1.1 | OPENSUSE-SU-2026:10924-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Sereal-Decoders390x | Advisory build | 5.6.0-1.1 | OPENSUSE-SU-2026:10924-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Sereal-Decoderx86_64 | Advisory build | 5.6.0-1.1 | OPENSUSE-SU-2026:10924-1 |
| Amazon Linux | AL2023 | perl-Sereal-Decodersrc | Listed in advisory | Not stated | ALAS2023-2026-1830 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | perl-Sereal-Decoderx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1830 |
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| YVES | Sereal::Decoder | 0 to < 5.005 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
3Provider assertions
3CPANSec · cna
Sereal::Decoder versions before 5.005 for Perl allow heap out-of-bounds read via crafted input
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6b27dbbe09baf8b008464e941dfd6ea8ac8c85c1b564bca023b8b2588f7d71cc
- Ingested
- 23 Sep 2026, 09:39:07 UTC
- Source record
- Official CVE record