PT-2026-45891 · Cpan · Cpanel::Json::Xs
Paul Johnson
·
Published
2026-06-03
·
Updated
2026-06-05
·
CVE-2026-9334
CVSS v3.1
7.3
High
| Vector | AV: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.Fix
Type Confusion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cpanel::Json::Xs