CVE Catalog

CVE-2026-110674

Unknown
Published: Updated: Translated: NVD NIST

Summary

In the Cpanel::JSON::XS Perl library (versions 4.33 to 4.80), duplicate non-ASCII bare keys are not detected, leading to type confusion under dupkeys_as_arrayref in decode_hv. A repeated key replaces the earlier value, and a further repeat may treat the value as an array and dereference a pointer from a JSON number.

Risk Assessment

Untrusted JSON processed with relaxed and dupkeys_as_arrayref can crash the process or dereference an attacker-chosen address, creating a risk of further exploitation.

Recommendation

Update Cpanel::JSON::XS to version 4.80 or later and avoid combining relaxed and dupkeys_as_arrayref when decoding untrusted data.

Other vulnerabilities in Cpanel::JSON::XS

See all
Original NVD description (English source)

Cpanel::JSON::XS versions from 4.33 before 4.80 for Perl miss duplicate non-ASCII bare keys, allowing type confusion under dupkeys_as_arrayref in decode_hv. With allow_barekey, which relaxed enables, a bare key containing a non-ASCII byte is stored as UTF-8 but looked up as raw bytes, so a repeated key escapes the duplicate-key check and replaces the earlier value. From 4.41, under dupkeys_as_arrayref, a bare repeat replaces the array that collects a key's values with a plain value, and the next quoted repeat pushes onto that value as if it were an array. A JSON integer there is dereferenced as a pointer. Untrusted JSON decoded with relaxed and dupkeys_as_arrayref can crash the process or dereference an address chosen by a JSON number.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS