{"id":"AZL-89396","summary":"CVE-2026-9334 affecting package perl-Cpanel-JSON-XS 4.39-1","details":"Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled.\n\ndecode_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.\n\nA caller decoding untrusted JSON with dupkeys_as_arrayref enabled is crashed, and the incompatible access follows a pointer taken from attacker controlled scalar contents.","modified":"2026-08-29T05:25:22Z","published":"2026-06-03T01:16:23Z","upstream":["CVE-2026-9334"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9334"}],"affected":[{"package":{"name":"perl-Cpanel-JSON-XS","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/perl-Cpanel-JSON-XS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.39-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-89396.json"}}],"schema_version":"1.9.0"}