UBUNTU-CVE-2026-8796

Source
https://ubuntu.com/security/CVE-2026-8796
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8796.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-8796
Upstream
Published
2026-05-31T20:16:00Z
Modified
2026-06-03T13:42:49Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:16.04:LTS
libsereal-decoder-perl

Package

Name
libsereal-decoder-perl
Purl
pkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.005.001-1
3.006-1
3.008-1
3.014-1
3.014-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libsereal-decoder-perl",
            "binary_version": "3.014-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8796.json"
Ubuntu:18.04:LTS
libsereal-decoder-perl

Package

Name
libsereal-decoder-perl
Purl
pkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.015-1build1
4.*
4.004+ds-1
4.005+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libsereal-decoder-perl",
            "binary_version": "4.005+ds-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8796.json"
Ubuntu:20.04:LTS
libsereal-decoder-perl

Package

Name
libsereal-decoder-perl
Purl
pkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.007+ds-1
4.007+ds-1build1
4.011+ds-1
4.011+ds-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libsereal-decoder-perl",
            "binary_version": "4.011+ds-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8796.json"
Ubuntu:22.04:LTS
libsereal-decoder-perl

Package

Name
libsereal-decoder-perl
Purl
pkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.018+ds-1build1
4.018+ds-1build2
4.023+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libsereal-decoder-perl",
            "binary_version": "4.023+ds-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8796.json"
Ubuntu:24.04:LTS
libsereal-decoder-perl

Package

Name
libsereal-decoder-perl
Purl
pkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.004+ds-1
5.004+ds-1build1
5.004+ds-1build2
5.004+ds-1build3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libsereal-decoder-perl",
            "binary_version": "5.004+ds-1build3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8796.json"
Ubuntu:25.10
libsereal-decoder-perl

Package

Name
libsereal-decoder-perl
Purl
pkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.004+ds-1build4
5.004+ds-1build5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libsereal-decoder-perl",
            "binary_version": "5.004+ds-1build5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8796.json"
Ubuntu:26.04:LTS
libsereal-decoder-perl

Package

Name
libsereal-decoder-perl
Purl
pkg:deb/ubuntu/libsereal-decoder-perl?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.004+ds-1build5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libsereal-decoder-perl",
            "binary_version": "5.004+ds-1build5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8796.json"