Skip to main content
VulnerabilityPublished Updated

CVE-2026-8796: Libsereal decoder perl · Sereal::Decoder versions before 5.005 for Perl allow heap out-of-bounds read

Affects libsereal-decoder-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-8796· High 8.1

Not known to be exploited · CVSS 8.1 High.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibsereal-decoder-perlpkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=resoluteOther threatsAffected
  • =5.004+ds-1build5
Fixed in–
Ubuntu 25.10libsereal-decoder-perlpkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=questingOther threatsAffected
  • =5.004+ds-1build4
  • =5.004+ds-1build5
Fixed in–
Ubuntu 24.04 LTSlibsereal-decoder-perlpkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=nobleOther threatsAffected
  • 5.004+ds-1 – 5.004+ds-1build3
4 affected builds
Fixed in–
Ubuntu 22.04 LTSlibsereal-decoder-perlpkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=jammyOther threatsAffected
  • =4.018+ds-1build1
  • =4.018+ds-1build2
  • =4.023+ds-1
Fixed in–
Ubuntu 20.04 LTSlibsereal-decoder-perlpkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=focalOther threatsAffected
  • 4.007+ds-1 – 4.011+ds-1build1
4 affected builds
Fixed in–
Ubuntu 18.04 LTSlibsereal-decoder-perlpkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=bionicOther threatsAffected
  • =3.015-1build1
  • =4.004+ds-1
  • =4.005+ds-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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).

References

Community reviews

Loading reviews…