CVE-2026-9334 Affecting perl-Cpanel-JSON-XS package, versions <4.380.0-150700.3.6.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-PERLCPANELJSONXS-17904289
  • published9 Jul 2026
  • disclosed6 Jul 2026

Introduced: 6 Jul 2026

NewCVE-2026-9334  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 perl-Cpanel-JSON-XS to version 4.380.0-150700.3.6.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-Cpanel-JSON-XS package and not the perl-Cpanel-JSON-XS package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

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 &amp;&amp; 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.

CVSS Base Scores

version 3.1