{"id":"CVE-2026-9334","published":"2026-06-03T00:15:16Z","modified":"2026-06-03T17:29:49Z","title":"Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref…","vendor":"RURBAN","product":"Cpanel::JSON::XS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00253,"percentile":0.1709,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://github.com/rurban/Cpanel-JSON-XS/commit/11a7c550a0d8fac2f84414f24d5df9b2bfe346e2.patch","tags":["patch"]},{"url":"https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.41/changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/03/4","tags":[]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":3.42},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"rurban","affectedVersions":[{"vendor":"RURBAN","product":"Cpanel::JSON::XS","versions":["< 4.41"]}],"solutions":{"items":["Upgrade to Cpanel::JSON::XS 4.41 or later."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-03T17:29:35.774276Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-34060","exploited":false,"provenance":"source"}}