{"id":79230,"date":"2026-06-03T04:46:23","date_gmt":"2026-06-03T01:16:23","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-9334-cpaneljsonxs-versions-before-4-41-for-perl-allow-type-confusion-via-duplicate-object-keys-when-dupkeys_as_arrayref-is-enabled\/"},"modified":"2026-06-03T04:46:23","modified_gmt":"2026-06-03T01:16:23","slug":"cve-2026-9334-cpaneljsonxs-versions-before-4-41-for-perl-allow-type-confusion-via-duplicate-object-keys-when-dupkeys_as_arrayref-is-enabled","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-9334-cpaneljsonxs-versions-before-4-41-for-perl-allow-type-confusion-via-duplicate-object-keys-when-dupkeys_as_arrayref-is-enabled\/","title":{"rendered":"CVE-2026-9334 &#8211; Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled"},"content":{"rendered":"<p>CVE ID :CVE-2026-9334<\/p>\n<p>  Published : June 3, 2026, 1:16 a.m. | 1\u00a0hour, 16\u00a0minutes ago<\/p>\n<p>  Description :Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-9334 Published : June 3, 2026, 1:16 a.m. | 1\u00a0hour, 16\u00a0minutes ago Description :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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-79230","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=79230"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79230\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}