CVE-2026-9334 in Cpanel::JSON::XSinformation

Résumé

par MITRE • 03/06/2026

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.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Responsable

CPANSec

Réserver

23/05/2026

Divulgation

03/06/2026

Modérer

accepté

Entrée

VDB-368090

CPE

prêt

EPSS

0.00037

KEV

non

Activités

très faible

Sources

Do you know our Splunk app?

Download it now for free!