PT-2026-45891 · Cpan · Cpanel::Json::Xs

·

CVE-2026-9334

·

Published

2026-06-01

·

Updated

2026-07-06

CVSS v3.1

7.3

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions Cpanel::JSON::XS versions prior to 4.41
Description Type confusion occurs when dupkeys as arrayref is enabled, allowing duplicate object keys to cause a crash. The decode hv() function collapses duplicate keys into an array reference; however, it performs a dereference operation on old value before confirming it is actually a reference. If the existing value is a plain scalar, the system attempts to dereference a non-reference scalar using a pointer derived from attacker-controlled content.
Recommendations Update to version 4.41 or later. As a temporary workaround, disable the dupkeys as arrayref option when decoding untrusted JSON.

Exploit

Fix

Type Confusion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-9334
OPENSUSE-SU-2026:10950-1
OPENSUSE-SU-2026:21140-1
SUSE-SU-2026:2782-1

Affected Products

Cpanel::Json::Xs