top of page
perceptive_background_267k.jpg

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 duplic…

Published:

2 juni 2026 om 22:00:00

Alert date:

3 juni 2026 om 19:01:16

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Web Technologies

CVE-2026-9334 affects Cpanel::JSON::XS versions before 4.41 for Perl, allowing type confusion via duplicate object keys when dupkeys_as_arrayref is enabled. The vulnerability occurs in decode_hv() function which collapses duplicate object keys into an array reference. A logical error in the branch handling duplicate keys causes SvRV(old_value) to be evaluated before confirming old_value is a reference. When the existing value is a plain scalar instead of an array reference, a non-reference scalar gets dereferenced as a reference. Attackers can exploit this by providing untrusted JSON with duplicate keys to crash applications and potentially achieve code execution through controlled scalar contents.

Technical details

Mitigation steps:

Affected products:

Cpanel::JSON::XS

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page