Type confusion in RURBAN Cpanel::JSON::XS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Cpanel::JSON::XS (RURBAN) Fixed in 4.41
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
RURBAN Cpanel::JSON::XS 4.41
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-08360 Improper handling of exceptional conditions in RURBAN Cpanel::JSON::XSPriority LOW 39
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9334
- 2026-10-03 Alias added: GHSA-qfqj-xxqv-cxfw
References
More RURBAN Cpanel vulnerabilities
- TI-2022-24155 The Cpanel::JSON::XS package before 4.33 for Perl performs out-of-bounds accesses in a… CVSS 3.1CRITICAL 9.1
- TI-2026-08360 Improper handling of exceptional conditions in RURBAN Cpanel::JSON::XS CVSS 3.1HIGH 7.5
Sources
- CVE-2026-9334 · CVE Program
- CVE-2026-9334 · NVD
- FIRST EPSS
- GHSA-qfqj-xxqv-cxfw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-9334 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences