CVE-2026-9334
published high CVSS 3.1 · 7.3Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| RURBAN | — | Cpanel-JSON-XSCpanel::JSON::XS · 0 to < 4.41 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP7 | perl-Cpanel-JSON-XSaarch64 | Advisory build | 4.380.0-150700.3.6.1 | SUSE-SU-2026:2782-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Cpanel-JSON-XSaarch64 | Advisory build | 4.800.0-150700.3.9.1 | SUSE-SU-2026:4926-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Cpanel-JSON-XSppc64le | Advisory build | 4.380.0-150700.3.6.1 | SUSE-SU-2026:2782-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Cpanel-JSON-XSppc64le | Advisory build | 4.800.0-150700.3.9.1 | SUSE-SU-2026:4926-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Cpanel-JSON-XSs390x | Advisory build | 4.380.0-150700.3.6.1 | SUSE-SU-2026:2782-1 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | perl-Cpanel-JSON-XSs390x | Advisory build | 4.800.0-150700.3.9.1 | SUSE-SU-2026:4926-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Cpanel-JSON-XSx86_64 | Advisory build | 4.380.0-150700.3.6.1 | SUSE-SU-2026:2782-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Cpanel-JSON-XSx86_64 | Advisory build | 4.800.0-150700.3.9.1 | SUSE-SU-2026:4926-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-Cpanel-JSON-XSaarch64 | Advisory build | 4.420.0-bp160.1.1 | OPENSUSE-SU-2026:21140-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-Cpanel-JSON-XSppc64le | Advisory build | 4.420.0-bp160.1.1 | OPENSUSE-SU-2026:21140-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-Cpanel-JSON-XSs390x | Advisory build | 4.420.0-bp160.1.1 | OPENSUSE-SU-2026:21140-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-Cpanel-JSON-XSx86_64 | Advisory build | 4.420.0-bp160.1.1 | OPENSUSE-SU-2026:21140-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Cpanel-JSON-XSaarch64 | Advisory build | 4.410.0-1.1 | OPENSUSE-SU-2026:10950-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Cpanel-JSON-XSppc64le | Advisory build | 4.410.0-1.1 | OPENSUSE-SU-2026:10950-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Cpanel-JSON-XSs390x | Advisory build | 4.410.0-1.1 | OPENSUSE-SU-2026:10950-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Cpanel-JSON-XSx86_64 | Advisory build | 4.410.0-1.1 | OPENSUSE-SU-2026:10950-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| RURBAN | Cpanel::JSON::XS | 0 to < 4.41 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-843 CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
References
3Provider assertions
3CPANSec · cna
Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b33125ac7828fd909313211088eb4c79ace732689f60b120279f4720c0db02c8
- Ingested
- 23 Sep 2026, 09:41:13 UTC
- Source record
- Official CVE record