UBUNTU-CVE-2026-9334

Source
https://ubuntu.com/security/CVE-2026-9334
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9334.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-9334
Upstream
Published
2026-06-03T01:16:00Z
Modified
2026-06-12T09:04:22Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled. decode_hv() collapses duplicate object keys into an array reference under dupkeys_as_arrayref. The branch reached for a duplicate key tests SvTYPE (old_value) != SVt_RV && SvTYPE (SvRV (old_value)) != SVt_PVAV, which evaluates SvRV(old_value) before establishing that old_value is a reference. When the existing value is a plain scalar rather than an array reference, a non-reference scalar is dereferenced as a reference. A caller decoding untrusted JSON with dupkeys_as_arrayref enabled is crashed, and the incompatible access follows a pointer taken from attacker controlled scalar contents.

References

Affected packages

Ubuntu:16.04:LTS
libcpanel-json-xs-perl

Package

Name
libcpanel-json-xs-perl
Purl
pkg:deb/ubuntu/libcpanel-json-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.0115-1
3.0210-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpanel-json-xs-perl",
            "binary_version": "3.0210-1ubuntu1"
        }
    ]
}

Database specific

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

Package

Name
libcpanel-json-xs-perl
Purl
pkg:deb/ubuntu/libcpanel-json-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.0225-1build1
3.0239-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpanel-json-xs-perl",
            "binary_version": "3.0239-1"
        }
    ]
}

Database specific

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

Package

Name
libcpanel-json-xs-perl
Purl
pkg:deb/ubuntu/libcpanel-json-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.12-1
4.12-1build1
4.15-1
4.17-1
4.18-1
4.19-1
4.19-1build1
4.19-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpanel-json-xs-perl",
            "binary_version": "4.19-1ubuntu0.1"
        }
    ]
}

Database specific

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

Package

Name
libcpanel-json-xs-perl
Purl
pkg:deb/ubuntu/libcpanel-json-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.25-1build1
4.25-1build2
4.27-1
4.27-1build1
4.27-1ubuntu0.1
4.27-1ubuntu0.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpanel-json-xs-perl",
            "binary_version": "4.27-1ubuntu0.2"
        }
    ]
}

Database specific

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

Package

Name
libcpanel-json-xs-perl
Purl
pkg:deb/ubuntu/libcpanel-json-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.37-1
4.37-1build1
4.37-1build2
4.37-1build3
4.37-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpanel-json-xs-perl",
            "binary_version": "4.37-1ubuntu0.1"
        }
    ]
}

Database specific

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

Package

Name
libcpanel-json-xs-perl
Purl
pkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=questing

Affected ranges

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

Affected versions

4.*
4.39-1
4.39-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpanel-json-xs-perl",
            "binary_version": "4.39-2"
        }
    ]
}

Database specific

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

Package

Name
libcpanel-json-xs-perl
Purl
pkg:deb/ubuntu/libcpanel-json-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.39-2
4.40-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpanel-json-xs-perl",
            "binary_version": "4.40-1"
        }
    ]
}

Database specific

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