
CVE catalog
CVE-2026-8796
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-referen
- Severity
- High · CVSS 8.1
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 27, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libsereal-decoder-perl | sid | 5.011+ds-1 | fixed |
| Debian | libsereal-decoder-perl | forky | 5.011+ds-1 | fixed |
| Debian | libsereal-decoder-perl | trixie | 5.004+ds-1 | vulnerable |
| Debian | libsereal-decoder-perl | bookworm | 5.003+ds-1 | vulnerable |
| Cpe | libsereal-decoder-perl | Not reported | Not reported | vulnerable |
| Ubuntu | libsereal-decoder-perl | 16.04 | 3.005.001-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 16.04 | 3.006-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 16.04 | 3.008-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 16.04 | 3.014-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 16.04 | 3.014-1build1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 18.04 | 3.015-1build1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 18.04 | 4.004+ds-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 18.04 | 4.005+ds-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 20.04 | 4.007+ds-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 20.04 | 4.007+ds-1build1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 20.04 | 4.011+ds-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 20.04 | 4.011+ds-1build1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 22.04 | 4.018+ds-1build1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 22.04 | 4.018+ds-1build2 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 22.04 | 4.023+ds-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 24.04 | 5.004+ds-1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 24.04 | 5.004+ds-1build1 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 24.04 | 5.004+ds-1build2 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 24.04 | 5.004+ds-1build3 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 25.10 | 5.004+ds-1build4 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 25.10 | 5.004+ds-1build5 | vulnerable |
| Ubuntu | libsereal-decoder-perl | 26.04 | 5.004+ds-1build5 | vulnerable |
| Opensuse | perl-Sereal-Decoder | tumbleweed | 5.6.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libsereal-decoder-perl | source | sid | 5.006+ds-1 | not yet assigned | Not reported | [1138633] |
| Debian | libsereal-decoder-perl | source | forky | 5.006+ds-1 | not yet assigned | Not reported | [1138633] |
| Debian | libsereal-decoder-perl | source | trixie | (unfixed) | not yet assigned | Not reported | [1138633] |
| Debian | libsereal-decoder-perl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1138633] |
| Opensuse | perl-Sereal-Decoder | rpm | tumbleweed | 5.6.0-1.1 | Not reported | OPENSUSE-SU-2026:10924-1 | Not reported |
Notes
[trixie] libsereal-decoder-perl: Minor issue [bookworm] libsereal-decoder-perl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libsereal-decoder-perl]Affected
Details (2)
5.003+ds-1· amd64 · bookwormAffected
nvd · libsereal-decoder-perl · debian · bookworm; nvd · libsereal-decoder-perl · debian · 12
5.003+ds-1· arm64 · bookwormAffected
nvd · libsereal-decoder-perl · debian · bookworm; nvd · libsereal-decoder-perl · debian · 12
[Debian 13 (Trixie)]
- [libsereal-decoder-perl]Affected
Source package: [libsereal-decoder-perl]
Details (2)
5.004+ds-1+b3· amd64 · trixieAffected
nvd · libsereal-decoder-perl · debian · 13
5.004+ds-1+b3· arm64 · trixieAffected
nvd · libsereal-decoder-perl · debian · 13
[openSUSE Tumbleweed]
- [perl-Sereal-Decoder]Fixed
Source package: [perl-Sereal-Decoder]
Details (1)
5.10.0-1.1· x86_64 · tumbleweedFixed · Fixed:
5.6.0-1.1nvd · perl-Sereal-Decoder · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10924-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-8796]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-8796]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-8796]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10924-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-8796]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8796.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]