UBUNTU-CVE-2026-129115

Source
https://ubuntu.com/security/CVE-2026-129115
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129115.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-129115
Upstream
  • CVE-2026-129115
Published
2026-11-16T00:00:00Z
Modified
2026-11-16T22:03:59Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

JSON::XS versions from 3.0 before 4.05 for Perl read freed stack memory when a FREEZE result's serialisation grows the Perl stack under allow_tags in encode_rv. With allow_tags, an object's FREEZE method is called in list context and each returned value is encoded through a saved Perl stack pointer. When encoding a returned value calls back into Perl, through TO_JSON under convert_blessed or another FREEZE, and that callback grows the stack, the stack is reallocated while the saved pointer still refers to the freed block. Encoding such objects reads freed memory, and encode can return undef without an error.

References

Affected packages

Ubuntu:14.04:LTS
libjson-xs-perl

Package

Name
libjson-xs-perl
Purl
pkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=trusty

Affected ranges

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

Affected versions

2.*
2.340-1
2.340-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libjson-xs-perl",
            "binary_version":  "2.340-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129115.json"
Ubuntu:16.04:LTS
libjson-xs-perl

Package

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

Affected ranges

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

Affected versions

3.*
3.010-2
3.010-2build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libjson-xs-perl",
            "binary_version":  "3.010-2build1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

3.*
3.030-1build1
3.040-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libjson-xs-perl",
            "binary_version":  "3.040-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

4.*
4.020-1
4.020-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libjson-xs-perl",
            "binary_version":  "4.020-1build1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

4.*
4.030-1build2
4.030-1build3
4.040-0ubuntu0.22.04.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libjson-xs-perl",
            "binary_version":  "4.040-0ubuntu0.22.04.1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

4.*
4.030-2
4.030-2build1
4.030-2build2
4.030-2build3
4.040-0ubuntu0.24.04.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libjson-xs-perl",
            "binary_version":  "4.040-0ubuntu0.24.04.1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

4.*
4.040-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libjson-xs-perl",
            "binary_version":  "4.040-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129115.json"
Ubuntu:26.10
libjson-xs-perl

Package

Name
libjson-xs-perl
Purl
pkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=stonking

Affected ranges

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

Affected versions

4.*
4.040-1
4.040-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libjson-xs-perl",
            "binary_version":  "4.040-1build1"
        }
    ]
}

Database specific

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